diff options
Diffstat (limited to 'mnmlist')
-rw-r--r-- | mnmlist/templates/categories.html | 2 | ||||
-rw-r--r-- | mnmlist/templates/taglist.html | 2 | ||||
-rw-r--r-- | mnmlist/templates/tags.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mnmlist/templates/categories.html b/mnmlist/templates/categories.html index 78362e4..e29be0c 100644 --- a/mnmlist/templates/categories.html +++ b/mnmlist/templates/categories.html @@ -2,7 +2,7 @@ {% block content %} <ul> {% for category, articles in categories %} - <li><a href="{{ SITEURL }}/category/{{ category }}.html">{{ category }}</a></li> + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> {% endfor %} </ul> {% endblock %} diff --git a/mnmlist/templates/taglist.html b/mnmlist/templates/taglist.html index 0f4862d..c792fd7 100644 --- a/mnmlist/templates/taglist.html +++ b/mnmlist/templates/taglist.html @@ -1,2 +1,2 @@ -{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %} +{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %} {% if PDF_PROCESSOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a></p>{% endif %} diff --git a/mnmlist/templates/tags.html b/mnmlist/templates/tags.html index 5bee1e1..a6011a0 100644 --- a/mnmlist/templates/tags.html +++ b/mnmlist/templates/tags.html @@ -2,7 +2,7 @@ {% block content %} <ul> {% for tag, articles in tags %} - <li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li> + <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li> {% endfor %} </ul> {% endblock %} |