all repos — zola-bearblog @ a70fb3f413a205390b45943007400d5d9a06a72b

Port of bear blog theme to zola

Merge branch 'main' into microformats2

Alan Pearce
commit

a70fb3f413a205390b45943007400d5d9a06a72b

parent

fe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2

1 file changed, 4 insertions(+), 4 deletions(-)

changed files
M templates/taxonomy_single.htmltemplates/taxonomy_single.html
@@ -2,10 +2,10 @@ {% extends "base.html" %}
{% block main %} <main> - {%- if taxonomy.term %} - <h3 style="margin-bottom:0">Filtering for "{{ term.name }}"</h3> + {%- if term %} + <h3 class="filter">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) }}">{{ trans(key="remove_filter", lang=lang) }}</a> </small> {%- endif %} <ul class="blog-posts">
@@ -22,7 +22,7 @@ <a href="{{ page.permalink }}">{{ page.title }}</a>
</li> {% else %} <li> - No posts yet + {{ trans(key="no_posts", lang=lang) }} </li> {% endfor %} </ul>