absolute hrefs for categories/tags

This commit is contained in:
anarsec 2023-06-27 22:04:00 +00:00
parent 74a62a97af
commit cfdd7766b6
No known key found for this signature in database
2 changed files with 8 additions and 4 deletions

View file

@ -81,7 +81,7 @@
<p>
Categories:
{% for category in categories %}
<a class="has-text-info-dark has-text-weight-semibold" href="{{ get_taxonomy_url(kind="categories", name=category) }}">
<a class="has-text-info-dark has-text-weight-semibold" href="/categories/{{category | lower}}">
<span class="icon-text">
<span class="icon">
<i class="fas fa-cube"></i>
@ -97,7 +97,7 @@
<p>
Tags:
{% for tag in tags %}
<a class="has-text-info-dark has-text-weight-semibold" href="{{ get_taxonomy_url(kind='tags', name=tag) }}">
<a class="has-text-info-dark has-text-weight-semibold" href="/tags/{{tag | lower}}">
<span class="icon-text">
<span class="icon">
<i class="fas fa-tag"></i>