Move random quotes to footer, disable next/prev buttons which collide with footer text
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
0306f86d79
commit
4e9c6dfd2f
|
@ -40,8 +40,6 @@ theme = 'gokarna'
|
|||
avatarSize = 'size-xl'
|
||||
description = '(+ (This subdomain) (Ordinal n) (! off) (Element 39) (Wide area network) (Prefix for billion))'
|
||||
accentColor = '#00dd42'
|
||||
footer = '🎉 Made with Hugo and frustration! - CC BY-SA 4.0'
|
||||
togglePreviousAndNextButtons = 'true'
|
||||
socialIcons = [
|
||||
{name = 'email', url = '/about/email', rel = 'me'},
|
||||
{name = 'forgejo', url = 'https://git.exozy.me/a', rel = 'me'},
|
||||
|
|
|
@ -269,3 +269,6 @@ Just some quotes I like. I also have a [fortune of the day website](https://fort
|
|||
|
||||
"Ash: Do you think I could do a show with all of my Pokémon? Misty: A live stage show? Ash: No, a television show. Misty: Who would watch something like that?"\
|
||||
\- Pokémon, "Flower Power"
|
||||
|
||||
"If you refuse this mission, I'll break the fourth wall again!"\
|
||||
\- Me
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
{{< rawhtml >}}
|
||||
<div class="quote" style="text-align:center"></div>
|
||||
<script>
|
||||
var quotes = ["I'm not young enough to know everything.", "Never surrender to fascist zebras to cosplaying as unicorns!", "I want to see the universe in debug mode.", "The kid was deliberately and maliciously watching television at him.", "How anNOYing is it thAT your faVORite mechaNIcal poeTry on whEELS can't even RUN THE SAME GAUGE as the counTRY nextdoor?!", "We're trying to figure out how to report capital gains from time traveling on our tax returns.", "The universe tends toward maximum irony. Don't push it.", "I bet I just made you refresh the page 16 times.", "source ~/.bash_history", "It tastes like I'm a giraffe.", "憂鬱的臺灣烏龜。", "If you refuse this mission, I'll break the fourth wall again!", "An idiot with a computer is a faster, better idiot.", "I distinctly remember forgetting that.", "Don't mind me, I'm just a professional mouse finder.", "Icicles? Tide pods? No, typos."]
|
||||
document.querySelector(".quote").innerHTML = quotes[Math.floor(Math.random() * quotes.length)];
|
||||
</script>
|
||||
{{< /rawhtml >}}
|
|
@ -3,10 +3,10 @@
|
|||
<div class="text-404">
|
||||
<h1 class="error-emoji"></h1>
|
||||
<h2>
|
||||
404 ... You've reached an imaginary page!
|
||||
404 ... You've reached an imaginary page!
|
||||
</h2>
|
||||
<h3>
|
||||
Please <a href="https://www.reddit.com/r/learnmath/comments/s4rt0/why_does_multiplying_by_i_correspond_to_90_degree/">rotate your computer 90 degrees</a> and try again.
|
||||
Please rotate your computer 90 degrees and try again.
|
||||
</h3>
|
||||
</div>
|
||||
<script>
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
<footer class="footer">
|
||||
<!-- Option for user to inject custom html -->
|
||||
{{ if .Site.Params.CustomFooterHTML }}
|
||||
{{ .Site.Params.CustomFooterHTML | safeHTML }}
|
||||
{{ end }}
|
||||
|
||||
<!--<div><p><a href="https://ring.exozy.me/previous?host=a.exozy.me"><- prev</a> | <a href="https://ring.exozy.me/random">rand</a> | <a href="https://ring.exozy.me/next?host=a.exozy.me">next -></a></p></div>-->
|
||||
|
||||
<span>{{ .Site.Params.Footer }}</span>
|
||||
<div class="quote">CC BY-SA 4.0</div>
|
||||
<script>
|
||||
var quotes = ["I'm not young enough to know everything.", "I think I'm eating the circular fry from the wrong dimension.", "I want to see the universe in debug mode.", "The kid was deliberately and maliciously watching television at him.", "How anNOYing is it thAT your faVORite mechaNIcal poeTry on whEELS can't even RUN THE SAME GAUGE as the counTRY nextdoor?!", "We're trying to figure out how to report capital gains from time traveling on our tax returns.", "The universe tends toward maximum irony. Don't push it.", "I bet I just made you refresh the page 16 times.", "source ~/.bash_history", "It tastes like I'm a giraffe.", "憂鬱的臺灣烏龜", "If you refuse this mission, I'll break the fourth wall again!", "An idiot with a computer is a faster, better idiot.", "I distinctly remember forgetting that.", "It will make you laugh! It will make you cry! It will make you try mayonnaise-frosted pie!", "Icicles? Tide pods? No, typos."]
|
||||
document.querySelector(".quote").innerHTML = "\"" + quotes[Math.floor(Math.random() * quotes.length)] + "\" - CC BY-SA 4.0";
|
||||
</script>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue