add fun quotes page
This commit is contained in:
4
templates/components/quote.html
Normal file
4
templates/components/quote.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="quote">
|
||||
<blockquote>[[ quote.content ]]</blockquote>
|
||||
<cite>- [[ quote.from ]]</cite>
|
||||
</div>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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
32
templates/quotes.html
Normal 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>
|
||||
Reference in New Issue
Block a user