]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/artlist.html
remove nbsp in meta tag
[irc/freenode/web-7.0.git] / templates / artlist.html
index 636e9c8ea2825c4df96e9aaaee1cc2e05b495609..9013dedf27dc6efe6d85b3c349a872e1eeac378f 100644 (file)
@@ -1,5 +1,10 @@
-<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 main">
+{% for article in get_module("news").articles|reverse %}
+    {{ artinfo.info(article, "b") }}
+{% endfor %}
+</div>
+{% endblock content %}