]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/artlist.html
Update support.md
[irc/freenode/web-7.0.git] / templates / artlist.html
index 636e9c8ea2825c4df96e9aaaee1cc2e05b495609..0bb5e822cc0316e0d1475fe31ff930cc9a5826c0 100644 (file)
@@ -1,5 +1,13 @@
-<div class="art">
-    <p><h3 class="art">{{ header }}</h3><span class="art-date">{{ published }} by {{ author }}</span></p>
-    <p class="art-ingress">{% block ingress %}{% endblock %}</p>
-    <p class="art-link"><a href="{{ link }}">Read More</a></p>
-</div>
\ No newline at end of file
+{% import "artinfo.html" as artinfo %}
+{% extends "base.html" %}
+{% set title = "archive" %}
+{% block content %}
+<div class="artlist heading">
+    <h1>Blog Archive</h1>
+</div>
+<div class="artlist main">
+{% for article in get_module("news").articles|reverse %}
+    {{ artinfo.info(article, "b") }}
+{% endfor %}
+</div>
+{% endblock content %}