display taxonomies in article list block

This commit is contained in:
Ashla
2025-04-16 00:33:37 -04:00
parent c9bfc1a977
commit 37cbddbf3e
3 changed files with 11 additions and 8 deletions

View File

@ -53,7 +53,8 @@
{%- for name, taxon in page.taxonomies %}
<small>
<ul class="tags">
{%-for item in taxon -%}
<a class="tag" href="{{- get_url(path='$TAXON', lang=lang) | replace(from="$TAXON", to=name) | lower -}}">{{ name }}:</a>
{%- for item in taxon -%}
<li><a class="tag" href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">{{ item }}</a></li>
{%- endfor %}
</ul>