diff options
author | Tom Willemse | 2013-05-23 00:35:46 +0200 |
---|---|---|
committer | Tom Willemse | 2013-05-23 00:39:41 +0200 |
commit | c14ccf7079c8d68473e80df9c20aaac735f69447 (patch) | |
tree | ba2f807fd16aa606d5e624b33ae065d96ffb426d /ryuslash/aggregator/templates/aggregator/base.html | |
parent | 91283adebd1531fc7e676fcd29734b46a989525f (diff) | |
download | ryuslash.org-c14ccf7079c8d68473e80df9c20aaac735f69447.tar.gz ryuslash.org-c14ccf7079c8d68473e80df9c20aaac735f69447.zip |
Add the all category and show feeds on page
Diffstat (limited to 'ryuslash/aggregator/templates/aggregator/base.html')
-rw-r--r-- | ryuslash/aggregator/templates/aggregator/base.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ryuslash/aggregator/templates/aggregator/base.html b/ryuslash/aggregator/templates/aggregator/base.html index 1b674aa..499e02a 100644 --- a/ryuslash/aggregator/templates/aggregator/base.html +++ b/ryuslash/aggregator/templates/aggregator/base.html @@ -16,13 +16,16 @@ <div class="container"> <img class="pull-left" src="/static/logo.png" alt="ryuslash.org" title="ryuslash.org" /> - <a class="brand" href="http://ryuslash.org">ryuslash</a> + <a class="brand" href="{% url 'index' %}">ryuslash</a> <ul class="nav pull-right"> + <li {% if category == 'all' %}class="active"{%endif%}> + <a href="{% url 'index' %}">all</a> + </li> <li {% if category == 'post' %}class="active"{% endif %}> - <a href="/post/">posts</a> + <a href="{% url 'index' cat='post' %}">posts</a> </li> <li {% if category == 'activity' %}class="active"{% endif %}> - <a href="/activity/">activities</a> + <a href="{% url 'index' cat='activity' %}">activities</a> </li> </ul> </div> |