What
Currently, we only have:
ArticlePage.Article.type
ArticlePage.Article.sub_type
I would like to introduce the following addition (naming tbd):
SectionPage.Section.type = 'section'
SectionPage.Section.sub_type = 'news' | 'frontpage' | 'advertorial' | 'themepage'
In paper is already a type section. This makes it much easier for us to calculate standard info/properties/values in some places. We have an interface Page shared between Article- and Section-Pages.
More Examples
/test-homepage/ could also have the sub_type frontpage.
/themen/* with sub_type themen for easier cache header
/authors/ with sub_type author for custom commercial settings
/newsletter/ with sub_type compliance to disable all commercials (like on the article page)
What
Currently, we only have:
I would like to introduce the following addition (naming tbd):
In paper is already a type
section. This makes it much easier for us to calculate standard info/properties/values in some places. We have an interfacePageshared between Article- and Section-Pages.More Examples
/test-homepage/could also have thesub_typefrontpage./themen/*withsub_typethemenfor easier cache header/authors/withsub_typeauthorfor custom commercial settings/newsletter/withsub_typecomplianceto disable all commercials (like on the article page)