diff options
author | Nicolas Kuttler <git@kuttler.eu> | 2015-02-11 22:59:41 +0100 |
---|---|---|
committer | Nicolas Kuttler <git@kuttler.eu> | 2015-02-11 23:20:29 +0100 |
commit | af2178c0b3b28b462209251aba685a2108c2e905 (patch) | |
tree | d66deb12e0f5f82127fed6525361bc24b46ab5b5 /_layouts/home.html | |
parent | 549b47e04bc63cfa7d7b3e4464e230c79f5080d8 (diff) | |
download | irssi.github.io-af2178c0b3b28b462209251aba685a2108c2e905.zip |
Add a basic front page with paginated news archive
Diffstat (limited to '_layouts/home.html')
-rw-r--r-- | _layouts/home.html | 12 |
1 files changed, 12 insertions, 0 deletions
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 +--- + +<h1>News{% if paginator.page > 1 %} Archive{% endif %}</h1> + +{% for post in paginator.posts %} + <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> + {{ post.content | markdownify }} +{% endfor %} + +{% include paginate.html %} |