all repos — zola-bearblog @ a6000685cfcbb4253f634b44637b599cec96d5bc

Port of bear blog theme to zola

Create basic German version of website

Alan Pearce
commit

a6000685cfcbb4253f634b44637b599cec96d5bc

parent

5a936b5c413b541c5523da6b4ebdc46f996f7360

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

changed files
M templates/section.htmltemplates/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 @@ <a href="{{ page.permalink }}">{{ page.title }}</a>
</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>&nbsp; {% endfor %}