diff options
Diffstat (limited to 'new-bootstrap2/templates/categories.html')
-rw-r--r-- | new-bootstrap2/templates/categories.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/new-bootstrap2/templates/categories.html b/new-bootstrap2/templates/categories.html new file mode 100644 index 0000000..4a9088f --- /dev/null +++ b/new-bootstrap2/templates/categories.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block content %} +<ul> +{% for category, articles in categories %} + <li><a href="{{ category.url }}">{{ category }}</a></li> +{% endfor %} +</ul> +{% endblock %} |