Add navigation bar and fix the bug of "too many values to unbound"

This commit is contained in:
2012-11-17 09:46:33 +01:00
parent 4d89ccefb5
commit 16c2c73389
5 changed files with 72 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
{% extends "templates/base.html" %}
{% block content %}
<a href="/blog/{{ blog.id }}?page=0">Home</a> <a href="/category/{{ blog.id }}">Categories</a> <a href="/tag/{{ blog.id }}">Tags</a><br/><br/>
{% if tags|length == 0 %}
<b>Any tag available</b><br/><br/>
{% else %}