From af2178c0b3b28b462209251aba685a2108c2e905 Mon Sep 17 00:00:00 2001 From: Nicolas Kuttler Date: Wed, 11 Feb 2015 22:59:41 +0100 Subject: Add a basic front page with paginated news archive --- _layouts/home.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _layouts/home.html (limited to '_layouts/home.html') diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 0000000..9a2976a --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,12 @@ +--- +layout: default +--- + +

News{% if paginator.page > 1 %} Archive{% endif %}

+ +{% for post in paginator.posts %} +

{{ post.title }}

+ {{ post.content | markdownify }} +{% endfor %} + +{% include paginate.html %} -- cgit v1.2.3