From a7cdaa4a0a56ab8c1386ed02fb2ed0cda089d0c4 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sun, 15 Mar 2020 22:15:23 +0100 Subject: [PATCH] Add content to archives page --- templates/archives.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/archives.html b/templates/archives.html index ead880c..0af7d26 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -3,5 +3,12 @@ {% block title %}{{ SITENAME }} — Archives{% endblock %} <div class="col-md-12 col-sm-12"> {% block content_title %} + <h3>News</h3> + {% for article in articles %} + <h4><a href="{{ article.url }}">{{ article.title }}</a></h4> + {{ article.date }} · <a href="{{ article.author.url }}">{{ article.author }}</a> + {{ article.summary }} + <p><a href="{{ article.url }}">More info…</a></p> + {% endfor %} {% endblock %} </div> -- GitLab