initial commit

This commit is contained in:
thornAvery 2021-08-28 01:08:14 +00:00
commit 54d8126add
131 changed files with 7663 additions and 0 deletions

2
templates/archive.html Normal file
View file

@ -0,0 +1,2 @@
$body$
$partial("templates/post-list.html")$

34
templates/default.html Normal file
View file

@ -0,0 +1,34 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<title>rf - $title$</title>
<link rel="stylesheet" href="/css/default.css" />
$favicons$
</head>
<body>
<header>
<div class="logo">
<a href="/">Regular Flolloping</a>
</div>
<nav class="navbar">
<a href="/">Home</a>
<a href="/about/">About</a>
<a href="/contact/">Contact</a>
<a href="/archive/">Archive</a>
</nav>
</header>
<main role="main">
<h1>$title$</h1>
$body$
</main>
<footer>
powered by <a href="http://jaspervdj.be/hakyll">Hakyll</a>
</footer>
</body>
</html>

4
templates/index.html Normal file
View file

@ -0,0 +1,4 @@
$body$
$partial("templates/post-list.html")$
<p>...or for a chance to nab seven agenda points, check the <a href="/archive/index.html">archives</a>.</p>

7
templates/post-list.html Normal file
View file

@ -0,0 +1,7 @@
<ul>
$for(posts)$
<li>
<a href="$url$">$title$</a> - $date$
</li>
$endfor$
</ul>

11
templates/post.html Normal file
View file

@ -0,0 +1,11 @@
<article>
<section class="header">
Posted on $date$
$if(author)$
by $author$
$endif$
</section>
<section>
$body$
</section>
</article>