Add weird quotes to main page
All checks were successful
ci/woodpecker/push/<no value> Pipeline was successful
All checks were successful
ci/woodpecker/push/<no value> Pipeline was successful
This commit is contained in:
parent
41c0ffde4c
commit
e1b25881da
8
content/index-about.md
Normal file
8
content/index-about.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{{< 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 8 times."]
|
||||
document.querySelector(".quote").innerHTML = quotes[Math.floor(Math.random() * quotes.length)];
|
||||
</script>
|
||||
{{< /rawhtml >}}
|
2
layouts/shortcodes/rawhtml.html
Normal file
2
layouts/shortcodes/rawhtml.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<!-- raw html -->
|
||||
{{.Inner}}
|
|
@ -1 +1 @@
|
|||
Subproject commit 45d51ec388fc587d17706de55234f7b7938b9208
|
||||
Subproject commit 9d9e7521f1ba1273a547603ceb971c2847389f77
|
Loading…
Reference in a new issue