Vincent Prouillet
Vincent Prouillet
> is there a way to go around that in the meantime short of forking the repository and change the hard-coded value? Not currently. It would be possible if I...
I'll take a PR for it
You can do a PR to add it to the theme directly if you want
It shouldn't be too hard to implement (even with only CSS I think?) and make it available as an option if someone wants to try.
The next Zola version will have better handling for languages and you should be able to just do `get_section(path="_index.md", lang=lang)` (hopefully)
I believe it should already work in v2 (https://github.com/Keats/tera2) but I don't remember... I will have to check
v2 will allow you to do `{{ name or "" }}`, I don't think we'll change the `default` filter until then
Yep sounds like the docs need to be updated. The exact available chars are https://github.com/Keats/tera/blob/master/src/parser/tera.pest#L54-L62
> However, I found it weird that a missing page.extra.menuLabel would fall back to the global page variable Hu weird, it shouldn't?
Well it's actually implemented exactly like that in v2: https://github.com/Keats/tera2/blob/master/src/tests/rendering_inputs/success/set_blocks.txt ;)