Merge pull request 'Use the localised version of get_url so multilingual sites can be setup' (#2) from g4m4/zola-bearblog:multilingual_fixes into main Reviewed-on: https://codeberg.org/alanpearce/zola-bearblog/pulls/2
3 files changed, 3 insertions(+), 3 deletions(-)
M templates/section.html → templates/section.html
@@ -5,7 +5,7 @@ <main> {%- if taxonomy.term %} <h3 style="margin-bottom:0">Filtering for "{{ section.title }}"</h3> <small> - <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a> + <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a> </small> {%- endif %} <ul class="blog-posts">
M templates/taxonomy_single.html → templates/taxonomy_single.html
@@ -5,7 +5,7 @@ <main> {%- if taxonomy.term %} <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3> <small> - <a href="{{ get_url(path="@/blog/_index.md") }}">Remove filter</a> + <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a> </small> {%- endif %} <ul class="blog-posts">