summaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/archive.html b/templates/archive.html
new file mode 100644
index 0000000..97103b2
--- /dev/null
+++ b/templates/archive.html
@@ -0,0 +1,18 @@
+{{#articles}}
+ <article>
+ <header>
+ <h2><a href='{{url}}'>{{title}}</a></h2>
+ <p>posted {{date}}, by {{author}}
+ </header>
+ {{&text}}
+ </article>
+{{/articles}}
+
+{{#prevarchive}}
+<p>Previous: {{slug}}: {{url}}
+{{/prevarchive}}
+
+{{#nextarchive}}
+<p>Next: {{slug}}: {{url}}
+{{/nextarchive}}
+