aboutsummaryrefslogtreecommitdiffstats
path: root/ryuslash/aggregator/templates/aggregator/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'ryuslash/aggregator/templates/aggregator/base.html')
-rw-r--r--ryuslash/aggregator/templates/aggregator/base.html9
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>