-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
changeIntroduces changes with existing installationsIntroduces changes with existing installationsfeatureNew feature or requestNew feature or request
Milestone
Description
Currently rendering of archetypes is duplicated for each page in the template file itself. E.g. if you create a new chapter, not only the parameters in the frontmatter are set, but also the initial headings configuraton.
This is cumbersome because
- all information necessarry for rendering the headings are already contained in the frontmatter anyways
- the theme becomes inflexible when changing rendering for such archetypes on the whole site
- the archetype template needs to be translated if used with languages other than english
A better solution is, to ship default partials for each archetype.
The aim is, to have only an archetype
parameter in the frontmatter and start the page off with just text or h2
headings for every archetype - regardless if it's a normal content page or a chapter page.
Metadata
Metadata
Assignees
Labels
changeIntroduces changes with existing installationsIntroduces changes with existing installationsfeatureNew feature or requestNew feature or request