archived posts, new ryuji feature

This commit is contained in:
Jon Dough
2024-01-17 12:39:00 +05:30
parent c7db9c6aaf
commit b39d26f3c4
9 changed files with 106 additions and 31 deletions

39
templates/archive.html Normal file
View File

@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>prussia fan club</title>
<link rel="icon" type="image/png" href="/favicon.ico">
<link rel="stylesheet" href="/styles/global.css">
<link rel="stylesheet" href="/styles/index.css">
<link rel="alternate" type="application/atom+xml" title="atom/rss feed for prussia fan club" href="/atom.xml"/>
</head>
<body>
[[ component:return ]]
[[ component:dark-mode-checkbox ]]
<div id="main">
<div>
<input id="fancy-title" type="checkbox"/><label for="fancy-title">Fancy Title</label>
<br>
<h2>prussiafan.club</h2>
<br>
<p>This is the archive of my blog, where posts bad enough to be hidden, but not terrible enough to be deleted, live.</p>
<p>Ah, what else? Uhhh... My favourite projects at the moment are <a href="https://github.com/stjet/pla-den-tor">pla-den-tor</a>, <a href="https://ztmy.prussia.dev">ztmy</a>, <a href="https://github.com/stjet/bananopie">bananopie</a>, <a href="https://mingde.prussia.dev">mingde</a>, and <a href="https://github.com/stjet/hedgeblog">this blog</a>. My favourite language is probably Lisp Scheme, but Typescript is nice too, except when it isn't.</p>
<p>You can also hire me!</p>
</div>
<div>
<ul>
[[ for:archived_posts:post ]]
[[ component:post-listing ]]
[[ endfor ]]
[[ if:no_archived_posts ]]
<li>No archived posts yet</li>
[[ endif ]]
</ul>
</div>
</div>
</body>
</html>
//, and a place where you can <a href="https://prussia.dev/sample">hire me</a>

View File

@@ -0,0 +1,6 @@
<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="/#quote1">More random stuff</a>
<a href="/#archive">More random stuff</a>
</div>

View File

@@ -7,6 +7,7 @@
<link rel="icon" type="image/png" href="/favicon.ico">
<link rel="stylesheet" href="/styles/global.css">
<link rel="stylesheet" href="/styles/index.css">
<link rel="alternate" type="application/atom+xml" title="atom/rss feed for prussia fan club" href="/atom.xml"/>
</head>
<body>
[[ component:dark-mode-checkbox ]]
@@ -16,7 +17,7 @@
<br>
<h2>prussiafan.club</h2>
<br>
<p>This is my blog. I also have a <a href="https://prussia.dev">portfolio</a>, <a href="https://prussia.dev/retro">retro style personal website</a>, and a place where you can <a href="https://prussia.dev/sample">hire me</a>.</p>
<p>This is my blog. I also have a <a href="https://prussia.dev">portfolio</a>, <a href="https://prussia.dev/retro">retro style personal website</a>. I like free software, privacy, yada yada.</p>
</div>
<div>
<ul>
@@ -27,6 +28,7 @@
</div>
<div>
[[ component:random/badges ]]
[[ component:random/archive ]]
[[ component:random/quote1 ]]
[[ component:random/quote2 ]]
[[ component:random/minesweeper ]]