Browse Source

Fix taxonomy linking for multilingual posts

master
Julio Biason 5 years ago
parent
commit
fb4dc98c11
  1. 2
      templates/macros/post.html

2
templates/macros/post.html

@ -95,7 +95,7 @@
{%- set sep = " " -%}
{% endif -%}
{%- for tag in page.taxonomies.tags %}
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">#{{ tag }}</a>
<a class="post-tag" href="{{ get_taxonomy_url(kind='tags', lang=page.lang, name=tag) | safe }}">#{{ tag }}</a> #}
{%- if not loop.last %}{{ sep | safe }}{% endif -%}
{% endfor -%}
</span>

Loading…
Cancel
Save