Merge pull request 'Minor multilingual fix: change date format to "YYYY-MM-DD", add margin to active language in language switcher' (#13) from dobrvlskyi/zola-bearblog:multilingual into main Reviewed-on: https://codeberg.org/alanpearce/zola-bearblog/pulls/13
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/language_switcher.html → templates/language_switcher.html
@@ -3,7 +3,7 @@ <nav class="lang"> {%- set language_agnostic_path = current_path | default(value="/") | replace(from='/' ~ lang ~ '/', to = '/') | trim_start_matches(pat = '/') -%} {%- for tr in config.extra.translations %} {%- if tr.code == lang %} - <strong>{{ tr.name }}</strong> + <active>{{ tr.name }}</active> {%- else %} <a href="{{ get_url(path=language_agnostic_path, lang=tr.code) ~ "/" }}" hreflang="{{ tr.code }}">{{ tr.name }}</a> {%- endif %}