Skip to content

RFC: SectionPage with ContentType and ContentSubType #456

Description

@bobaaaaa

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🎁 APIAPI/Model changes📔 RFCRequest for comments

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions