diff options
| author | 2020-10-30 19:06:34 +0200 | |
|---|---|---|
| committer | 2020-10-30 19:06:34 +0200 | |
| commit | 8d7c655d5b52e15e569061c3fc57c535b90272ce (patch) | |
| tree | 82b8f1831e4e4cab1b39f5d67902076cbb46e071 /pydis_site | |
| parent | Use just plain strings for site repo information (diff) | |
Use Django URL generation for category URL
Diffstat (limited to 'pydis_site')
| -rw-r--r-- | pydis_site/templates/content/article.html | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/templates/content/article.html b/pydis_site/templates/content/article.html index f3c7c7a5..92b1b1ce 100644 --- a/pydis_site/templates/content/article.html +++ b/pydis_site/templates/content/article.html @@ -21,7 +21,7 @@                  <ul>                      <li><a href="{% url "content:articles" %}">Articles</a></li>                      {% if category_data.raw_name is not None %} -                        <li><a href="/articles/category/{{ category_data.raw_name }}">{{ category_data.name }}</a></li> +                        <li><a href="{% url "content:category" category=category_data.raw_name %}">{{ category_data.name }}</a></li>                      {% endif %}                      <li class="is-active"><a href="#">{{ article.metadata.title }}</a></li>                  </ul>  |