Launch the blog list page
A blog index that lists posts newest first.
Life cycle: Launch, example 19 of 33. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Create the landing page "Blog" in the tree.
- Create its layout with a List block, dynamic collection, parent the blog folder, sort Published descending.
- Map it by Location.
With templates
fetch( 'content', 'list', hash( 'parent_node_id', <blog node>, 'class_filter_type', 'include', 'class_filter_array', array( 'ng_blog_post' ), 'sort_by', array( 'published', false() ) ) )in a template block.
Which to choose
The dynamic list keeps the index current without code.
Check
- A new post appears first.
Related pages
- Manual and dynamic collections
- Launch 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.