Zola: Per-section page template

Created on 28 Oct 2017  路  3Comments  路  Source: getzola/zola

It can be useful if people can use different page template for different section, and subsection can inherit the page template from its parent when such field is lack. Page's template field would override anything.

Probably add a new page_template can do the trick.

enhancement

Most helpful comment

Warming up to the idea, especially if you want to mix completely different context like a blog/gitbook etc. Maybe even having per-section themes could be nice

All 3 comments

Makes sense

Edit: Actually I'm not 100% sure I want to add it now that I think about the interactions between subsections where sub-sub-sub section would get the same page_template as the parent if not filled would be a bit magical imo.
I'll think about it a bit more

Warming up to the idea, especially if you want to mix completely different context like a blog/gitbook etc. Maybe even having per-section themes could be nice

Closed in favour of #397 which is a bit more detailed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phil-opp picture phil-opp  路  6Comments

codesections picture codesections  路  5Comments

florianb picture florianb  路  5Comments

jjbarr picture jjbarr  路  5Comments

sternj picture sternj  路  6Comments