Closed tkarkkainen closed 2 years ago
@aaranxu can this be merged now that Zola fix is through? Thanks!
I gave it a quick test with the new Zola 0.15.3 and it seems to work (i.e. no errors from Zola, page loads fine).
Removed draft status.
Great job and thanks.
I made it possible to define main menu entries in
content/_index.md
for the default language and incontent/_index.lang.md
for translated pages in multilingual sites. I created an example Finnish translation as well.Due to issue in Zola, this does not work in Zola 0.14.1. I am unable to test with an earlier version at the moment. Marking this PR as draft until it can be properly tested.
This functionality and logic could be easily extended to the footer menu as well.