@ -111,6 +111,17 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e
{{ page.title }}
</h1>
<ul class="language-switcher">
{% for trans in page.translations %}
<ol>
<a href="{{ trans.permalink }}" lang="{{ trans.lang }}">
{{ config.extra.languages[trans.lang] | default(value=trans.lang) }}
</a>
</ol>
{% endfor %}
</ul>
<ul class="meta">
{#- Draft indicator -#}
{% if page.draft %}
@ -36,3 +36,13 @@
</div>
</details>
</li>
<li>
@ -34,14 +34,7 @@
{# Language switcher #}
{# Displayed only if more than one language is available #}
{%- if config.languages | length > 0 %}
{% include "partials/language_switcher.html" %}
{%- endif %}
{# Theme switcher #}
{%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%}
{%- include "partials/theme_switcher.html" -%}
{%- endif -%}
@ -38,6 +38,17 @@
{% set path = section.path %}
{% endif -%}
{% for trans in section.translations %}
{%- if show_projects_first -%}
{%- include "partials/main_page_projects_list.html" -%}
{%- include "partials/main_page_posts_list.html" -%}