I’m trying to define three different types of articles. The idea is that in the panel there will be three tabs where the author can publish based on one of the three different topics:
I’m unable to limit the pages to the specific topic. I have the idea that it’s possible to create one blueprint for the “article” and extend it based on the article topic. Am I right? What’s wrong with my approach?
my site blueprint looks like this.
# site.yml title: Site extends: layouts/default
my default layout looks like this.
# layouts/default.yml tabs: services: label: Services icon: document extends: layouts/sections/article case-studies: label: Case-Studies icon: document extends: layouts/sections/article blog-posts: label: Blog Posts icon: document extends: layouts/sections/article
And finally the article section blueprint looks like this
# layouts/sections/article.yml columns: - width: 2/3 sections: listed: type: pages headline: Published status: listed - width: 1/3 sections: drafts: type: pages headline: Drafts status: draft unlisted: type: pages headline: In Review status: unlisted