I was wondering if it was in the scope of this project to change the menu for multi-lingual sites? Currently the index.html template has:
set index = get_section(path="_index.md")
Is it possible to set the index with this logic:
{% if lang == config.default_language %}{% set index = "_index.md" %}{% else %}{% set indx= "_index." ~ lang ~ ".md" %}{% endif %}
My team is pretty new to zola, so if we are overlooking something with this logic or your implementation please let me know. Right now we override the menu block with this logic. However, we may have a few documentation sites that will need to implement this override. Thanks for a great theme!
I was wondering if it was in the scope of this project to change the menu for multi-lingual sites? Currently the index.html template has:
Is it possible to set the index with this logic:
My team is pretty new to zola, so if we are overlooking something with this logic or your implementation please let me know. Right now we override the menu block with this logic. However, we may have a few documentation sites that will need to implement this override. Thanks for a great theme!