Blog post
A journal story: title, image, text, sharing and comments.
A journal story: title, image, text, sharing and comments.
- Where it can go: Built into its template
- Area: Pages, blog and accounts
- File:
sections/main-article.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Color scheme | Color scheme | Scheme 1 | |
| Layout | Choice | Split | Split keeps the featured image on the left while the story scrolls, from 990px wide. Options: Split, Stacked. |
| Side padding on desktop | Slider 16 to 80 px | 40 px | Space between the story and the right screen edge, and between the photo and the story. |
| Show reading progress | On/off | On | A thin line under the header that fills as the story is read. |
Section spacing#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Top spacing | Choice | Medium | Options: None, Small, Medium, Large. |
| Bottom spacing | Choice | Medium | Options: None, Small, Medium, Large. |
Blocks#
This section also accepts theme blocks.
Title
Type: _main-article-title
| Setting | Type | Default | What it does |
|---|---|---|---|
| Show title | On/off | On | Turn off when the featured image shows the title. |
| Show blog and type links | On/off | On | |
| Show type | On/off | On | The article's first tag, linked to the blog filtered by it. |
| Show reading time | On/off | On | Uses custom.reading_time when set, otherwise an estimate. |
| Show date | On/off | On | |
| Show author | On/off | Off | |
| Show excerpt | On/off | On | The article's excerpt, under the title. |
Featured image
Type: _main-article-image
| Setting | Type | Default | What it does |
|---|---|---|---|
| Image ratio | Choice | Wide | Options: Wide, Landscape, Square. |
Text on the image
| Setting | Type | Default | What it does |
|---|---|---|---|
| Text | Choice | None | The title here becomes the page heading, so turn off Show title in the Title block. Options: None, Title, Title and excerpt. |
| Text position | Choice | Bottom left | Options: Top left, Top center, Top right, Middle left, Middle center, Middle right, Bottom left, Bottom center, Bottom right. |
| Text color | Choice | Automatic, from the photo | Options: Automatic, from the photo, Light, for dark photos, Dark, for light photos. |
| Fade behind text | Slider 0 to 80 % | 30 % | Darkens behind light text and lightens behind dark text. |
Content
Type: _main-article-content
No settings.
Shop the story
Type: _main-article-products
| Setting | Type | Default | What it does |
|---|---|---|---|
| Heading | Text | Shop the story | |
| Products | Products | Leave empty to use the article's metafield custom.products (list of products). | |
| Columns | Choice | 2 | Options: 2, 3. |
Share
Type: _main-article-share
| Setting | Type | Default |
|---|---|---|
| Label | Text | Share |
| Show tags | On/off | On |
Tags
Type: _main-article-tags
No settings.
Developer notes#
Blocks are theme blocks. The comment form works for unmoderated and moderated blogs. The reading progress line is CSS only: a view timeline on the article drives it.