Main blog
sections/main-blog.liquid
Settings
| Setting | ID | Type | Default | Notes |
|---|---|---|---|---|
| Posts to show | blog_source | Dropdown | current | Shopify has no built-in all-posts page: /blogs/all only works if a blog with that handle exists, and it shows that blog's own posts. Use 'All blogs' or 'Grouped by blog' to list posts from every blog. Options: This blog only, All blogs combined, Grouped by blog. |
| Show combined posts on | aggregate_scope | Dropdown | empty | One template renders every blog page. This decides which pages show the combined list; all others show that blog's own posts. Options: Blogs with no posts of their own, Only one specific blog, Every blog page. |
| Hub blog handle | aggregate_handle | Text | all | Used when 'Only one specific blog' is selected, e.g. all |
| Blogs to include | blog_handles | Multi-line text | One blog handle per line (or comma separated), e.g. baby-toys. Find a handle in the blog's URL: /blogs/baby-toys. Required for 'All blogs combined' and 'Grouped by blog'. | |
| Show blog links | show_blog_nav | On/off | On | Links to each blog. Used when posts come from all blogs. |
| Maximum posts | max_posts | Slider | 12 | Used by 'All blogs combined'. That mode has no pagination, so this caps the list. Range: 6–48 step 3. |
| Posts per blog | posts_per_group | Slider | 3 | Used by 'Grouped by blog'. Range: 2–8 step 1. |
| Description | description | Rich text | ||
| Show first post as featured | show_featured | On/off | On | |
| Articles per page | articles_per_page | Slider | 9 | Used by 'This blog only', which is the only paginated mode. Range: 3–24 step 3. |
| Posts per row | columns_desktop | Slider | 3 | Two on tablet and one on mobile, whatever this is set to. Range: 2–4 step 1. |