Skip to content
Snippets Groups Projects
Commit 54889232 authored by František Řezníček's avatar František Řezníček
Browse files

fix: config mkdocs.i18n is now list

parent fddb1c71
Branches
No related tags found
1 merge request!49Draft: fix: mkdocs i18n plugin now requires new style config
Pipeline #323127 waiting for manual action
......@@ -23,10 +23,10 @@
</a>
<!-- <div class="md-select__inner">
<ul class="md-select__list">
{% for lang, display in config.plugins.i18n.config.languages.items() -%}
{% for lang_config in config.plugins.i18n.config.languages -%}
<li class="md-select__item">
<a href="/{{ lang }}/" hreflang="{{ lang }}" class="md-select__link">
{{ display.name }}
<a href="/{{ lang_config.locale }}/" hreflang="{{ lang_config.locale }}" class="md-select__link">
{{ lang_config.name }}
</a>
</li>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment