From 74c070279fb1c240779f9562ab6171ba32e3d744 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 27 Mar 2012 22:44:39 +0200 Subject: Add categories to main page --- templates/aggregator/base.html | 8 +++++++- templates/aggregator/posts.html | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'templates/aggregator') diff --git a/templates/aggregator/base.html b/templates/aggregator/base.html index 6a37f5a..0826711 100644 --- a/templates/aggregator/base.html +++ b/templates/aggregator/base.html @@ -14,7 +14,13 @@

ryuslash

-
Will this ever really be my website?
+
+ Will this ever really be my website? + {% for category in categories %} + {{ category.name }} + {% endfor %} +
{% block menu %}{% endblock %} diff --git a/templates/aggregator/posts.html b/templates/aggregator/posts.html index 2a5b8a1..efd1cb1 100644 --- a/templates/aggregator/posts.html +++ b/templates/aggregator/posts.html @@ -24,13 +24,15 @@
{% if list.has_previous %} {% endif %} {% if list.has_next %} {% endif %} -- cgit v1.2.3-54-g00ecf