Skip to content

Commit

Permalink
Fixed taxonomy now
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Dec 13, 2024
1 parent 7e6be0a commit b4462c3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/templates/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ <h1>{{ page.title }}</h1>
<div>
<p>Tags:</p>
<ul style="list-style-type: none;">
{% for t in page.taxonomies["theme-tags"] %}
{% set term = get_taxonomy_term(kind="theme-tags", term = t) %}
<li><a href="{{ term.permalink }}">{{ term.name }}</a></li>
{% endfor %}
{% for termname in page.taxonomies["theme-tags"] %}
{% set termurl = get_taxonomy_url(kind="theme-tags", name=termname, required=false) %}
{% if termurl %}
<li><a href="{{ termurl }}">{{ termname }}</a></li>
{% endif %}
{% endfor %}
</div>
{% endif %}
<p><b>Last updated:</b> {{page.extra.updated }}</p>
Expand Down

0 comments on commit b4462c3

Please sign in to comment.