diff options
author | Alan Pearce | 2024-02-20 20:02:36 +0000 |
---|---|---|
committer | Alan Pearce | 2024-02-20 20:02:36 +0000 |
commit | 333e97f135264c3c220063b2b64bf4dc0b508f34 (patch) | |
tree | fda555ec02ad606d42d089b01107cbfead01f68d /templates/section.html | |
parent | 5a936b5c413b541c5523da6b4ebdc46f996f7360 (diff) | |
parent | fa345b1d1e11cc66ed92605382887fd4367ef97a (diff) | |
download | zola-bearblog-333e97f135264c3c220063b2b64bf4dc0b508f34.tar.lz zola-bearblog-333e97f135264c3c220063b2b64bf4dc0b508f34.tar.zst zola-bearblog-333e97f135264c3c220063b2b64bf4dc0b508f34.zip |
Merge pull request 'Basic multilingual site' (#10) from multilingual into main
Reviewed-on: https://codeberg.org/alanpearce/zola-bearblog/pulls/10
Diffstat (limited to 'templates/section.html')
-rw-r--r-- | templates/section.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/section.html b/templates/section.html index f3c218a..9560719 100644 --- a/templates/section.html +++ b/templates/section.html @@ -3,9 +3,9 @@ {% block main %} <main> {%- if taxonomy.term %} - <h3 class="filter">Filtering for "{{ section.title }}"</h3> + <h3 class="filter">{{ trans(key="filtering_for",lang=lang)}} "{{ section.title }}"</h3> <small> - <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">Remove filter</a> + <a href="{{ get_url(path="@/blog/_index.md", lang=lang) }}">{{ trans(key="remove_filter", lang=lang) }}</a> </small> {%- endif %} <ul class="blog-posts"> @@ -22,13 +22,13 @@ </li> {% else %} <li> - No posts yet + {{ trans(key="no_posts", lang=lang) }} </li> {% endfor %} </ul> <small> <div> - {% set tags = get_taxonomy(kind="tags") %} + {% set tags = get_taxonomy(kind="tags", lang=lang) %} {% for post in tags.items %} <a href="{{ post.permalink }}">#{{ post.name }}</a> {% endfor %} |