]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/artlist.html
fix templates/artlist
[irc/freenode/web-7.0.git] / templates / artlist.html
index 78e79f439d556bcbaee4a1c328460d867d242465..c04ffa00f75d4ce3c4133c283e3da34500583505 100644 (file)
@@ -1,9 +1,12 @@
 {% extends "base.html" %}
+{% set title = "archive" %}
 {% block content %}
-{% with articles = get_module("news").articles %}
+<div class="artlist main">
+{% for article in get_module("news").articles|reverse %}
 <div class="art">
     <p><a href="{{ article.url }}"><b class="art">{{ article.title }}</b></a>&nbsp;
     <span class="art-date">{{ article.datetime }} by {{ article.author }}</span></p>
-    <p class="art-link"><a href="{{ link }}">Read More</a></p>
+</div>
+{% endfor %}
 </div>
 {% endblock content %}