{%- comment -%} MIT License · (c) 2026 Lintel · https://lintelagency.com/resources/shopify-sections {%- endcomment -%} {%- comment -%} Timeline: dated milestones for a brand's story or a process, as an ordered list on a line. On desktop the milestones alternate either side of the line or sit on one side; on mobile they always stack on one side. Each milestone has a date label, title, text, optional image (separate mobile image, focal points) and an optional link. Pure Liquid and CSS; no JavaScript. Depends on: snippets/lib-image.liquid, snippets/lib-button.liquid {%- endcomment -%} {%- liquid assign s = section.settings assign heading_tag = s.heading_tag | default: 'h2' assign item_tag = 'h3' if heading_tag == 'h3' or heading_tag == 'p' assign item_tag = 'h4' endif -%}
{{ b.date | escape }}
{%- endif -%} {%- if b.title != blank -%} <{{ item_tag }} class="lib-timeline__title">{{ b.title | escape }}{{ item_tag }}> {%- endif -%} {%- if b.image != blank or b.image_mobile != blank -%}A sentence or two about what happened and why it mattered.
" }, { "type": "image_picker", "id": "image", "label": "Image" }, { "type": "image_picker", "id": "image_mobile", "label": "Mobile image", "info": "Optional. Below 750px." }, { "type": "text", "id": "link_label", "label": "Link text" }, { "type": "url", "id": "link_url", "label": "Link" }, { "type": "checkbox", "id": "link_new_tab", "label": "Open link in a new tab", "default": false } ] } ], "presets": [ { "name": "Lib · Timeline", "blocks": [ { "type": "milestone", "settings": { "date": "2019", "title": "The first wheel" } }, { "type": "milestone", "settings": { "date": "2021", "title": "Our own kiln" } }, { "type": "milestone", "settings": { "date": "2024", "title": "The studio shop opens" } } ] } ] } {% endschema %}