summaryrefslogtreecommitdiffstats
path: root/blog/archive.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-08-05 15:47:18 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-08-05 15:47:18 +0200
commit357100da75d3730e0106f8b301e056bbab70263c (patch)
treed553dbde806fbda5590d519fcbe2b5e322bbb39b /blog/archive.html
parent402e35da5fed8c608dd530f04413674f100c1ca1 (diff)
downloadnorsk-urskog-main-357100da75d3730e0106f8b301e056bbab70263c.tar.gz
norsk-urskog-main-357100da75d3730e0106f8b301e056bbab70263c.tar.bz2
norsk-urskog-main-357100da75d3730e0106f8b301e056bbab70263c.zip
Add archive page for collecting all posts.
Diffstat (limited to 'blog/archive.html')
-rw-r--r--blog/archive.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/blog/archive.html b/blog/archive.html
new file mode 100644
index 0000000..5d6af7a
--- /dev/null
+++ b/blog/archive.html
@@ -0,0 +1,21 @@
+---
+layout: default
+---
+
+<h1>{% t titles.all_news %}</h1>
+
+<section id="news" class="wide">
+ {% for p in site.posts %}
+ <article>
+ <header>
+ <date>{{ p.date | date_to_string }}</date>
+ <h1>
+ <a href="{{ p.url }}">{{ p.title }}</a>
+ </h1>
+ </header>
+ <section>
+ {{ p.excerpt }}
+ </section>
+ </article>
+ {% endfor %}
+</section>