mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-10-11 16:26:14 +02:00
Multilingual sites supports
This commit is contained in:
parent
360a6f6207
commit
566d04e7e1
5 changed files with 96 additions and 2 deletions
|
@ -60,6 +60,8 @@
|
|||
</div>
|
||||
{%- if page %}
|
||||
{{ language_menu_macros::menu(page=page) }}
|
||||
{%- elif section %}
|
||||
{{ language_menu_macros::menu(page=section) }}
|
||||
{% endif -%}
|
||||
</div>
|
||||
|
||||
|
@ -133,6 +135,7 @@
|
|||
{% endblock footer %}
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/js/menu.js"></script>
|
||||
{%- block extra_body %}
|
||||
{% endblock extra_body -%}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue