]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/index.html
Hotfix
[irc/freenode/web-7.0.git] / templates / index.html
index f131bcbb02a2b83540421c28e9db5f2661571ff7..229cecfd87f00c24131f0f500a791b87b9c697ff 100644 (file)
     </div>
 </div>
 <div class="main">
-    {{ get_module("news").articles[-1].render() }}
+    {% with article = get_module("news").articles[-1] %}
+    <p><b class="art"><a href="{{ article.url }}">{{ article.title }}</a></b>&nbsp;
+    <span class="art-date">{{ article.datetime }} by {{ article.author }}</span></p>
+    <p class="art-ingress">{{ article.render() }}</p>
+    {#
+    <p class="art-links">
+        <a href="{{ next }}">Next</a>&nbsp;
+        <a href="{{ previous }}">Previous</a>&nbsp;
+    #}
+    {% endwith %}
+    <a href="{{ url_for("archive") }}" ckass="art-link">
+                News Archive</a>
 </div>
 {% endblock content %}