add fun quotes page

This commit is contained in:
stjet
2026-07-13 03:54:41 +00:00
parent c8cf78f178
commit 554a441807
7 changed files with 58 additions and 9 deletions

View File

@@ -0,0 +1,4 @@
<div class="quote">
<blockquote>[[ quote.content ]]</blockquote>
<cite>- [[ quote.from ]]</cite>
</div>

View File

@@ -1,6 +0,0 @@
<div class="random" id="archive">
<div class="random-content">
<a href="/archive">Visit the archives</a>
</div>
<a href="/#quote1">More random stuff</a>
</div>

View File

@@ -8,5 +8,5 @@
<img src="88x31/mh.gif" alt="Certified mostly harmless" loading="lazy"/>
<img src="88x31/salt.gif" alt="Salt your passwords, OR ELSE!" loading="lazy"/>
</div>
<a href="/#archive">More random stuff</a>
<a href="/#quote1">More random stuff</a>
</div>

View File

@@ -28,7 +28,6 @@
</div>
<div>
[[ component:random/badges ]]
[[ component:random/archive ]]
[[ component:random/quote1 ]]
[[ component:random/quote2 ]]
[[ component:random/minesweeper ]]
@@ -39,7 +38,7 @@
[[ component:random/rss ]]
[[ component:random/email ]]
<a id="ciran" href="/#badges" aria-hidden="true">See some random stuff</a>
<br>An incarnation of the <a href="https://n0thanky0u.neocities.org/denparing">denpa webring</a>.
<br>An incarnation of the <a href="https://n0thanky0u.neocities.org/denparing">denpa webring</a>. The <a href="/archive">archives</a>. And <a href="/quotes">fun quotes</a>!
</div>
</div>
</body>

32
templates/quotes.html Normal file
View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Quotes??</title>
<link rel="icon" type="image/png" href="/favicon.ico">
<link rel="stylesheet" href="/styles/global.css">
<style>
blockquote {
margin-left: 25px;
}
cite {
margin-left: 50px;
}
</style>
</head>
<body>
[[ component:return ]]
[[ component:dark-mode-checkbox ]]
<div id="main">
<div>
<h2>Quotes</h2>
</div>
<div>
[[ for:quotes:quote ]]
[[ component:quote ]]
[[ endfor ]]
</div>
</div>
</body>
</html>