Adding lang=lang attribute to header.html and page.html
2 files changed, 2 insertions(+), 2 deletions(-)
M templates/header.html → templates/header.html
@@ -1,5 +1,5 @@ <header> - <a href="{{ config.base_url }}" class="title"> + <a href="{{ get_url(path="@/_index.md", lang=lang) }}" class="title"> <h2>{{ config.title }}</h2> </a> <nav>
M templates/page.html → templates/page.html
@@ -23,7 +23,7 @@ {%- if page.taxonomies %} {%- for name, taxon in page.taxonomies %} {{ name | capitalize }}: {%- for item in taxon %} - <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a> + <a href="{{ get_taxonomy_url(kind=name, name=item, lang=lang) }}">#{{ item }}</a> {%- endfor %} {%- endfor %} {%- endif %}