Plan a blog section
A blog with its own list page and the article layout for the posts.
Life cycle: Plan, example 23 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- The Full / Article mapping (priority 130) has the class condition
ng_article,ng_blog_post,ng_news: posts get the article layout without a new mapping. - The blog's list page is a landing page with a dynamic List of the posts.
With templates
- A blog-specific full view would be an
override.iniblock forng_blog_postin your extension.
Which to choose
Reuse the article layout; give the list page its own layout.
Check
- A new blog post shows with the article layout.
Related pages
- Which layout does a page get?
- Plan examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.