1
0
Fork 0
forked from github/pelican

Create a Category class which has a url property

This commit is contained in:
Kyle Fuller 2011-12-22 15:13:12 +00:00
commit 6754099730
6 changed files with 27 additions and 5 deletions

View file

@ -2,7 +2,7 @@
{% block content %}
<ul>
{% for category, articles in categories %}
<li>{{ category }}</li>
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}