Liquid reference
Custom tags, filters, and field types Basker layers on top of standard Liquid
Basker themes are written in Liquid — the same template language used by Shopify, Jekyll, and many other systems. The standard Liquid you already know works as expected: {{ output }}, {% control flow %}, filters with |, and the usual operators.
On top of standard Liquid, Basker layers a small set of custom tags, filters, and field-type behaviours that integrate with the CMS — {% stageblocks %} for rendering blocks, {% schema %} for declaring template/block settings, image_url for serving the right image transformation, and so on.
This section is the reference. Use it when you need to know which non-standard tag or filter is available, or when you're translating a Shopify theme over to Basker and need to find the equivalent.
What's covered
Tags
Custom tags — stageblocks, schema, paginate, form, javascript, stylesheet, and more.
Filters
Custom filters — asset_url, image_url, stylesheet_tag, script_tag, and more.
Field types
How CMS field types appear in Liquid — text, rich text, relationships, uploads, dates.
What's NOT here
- Standard Liquid — output tags, control flow, common filters (
upcase,date,default, etc.). Refer to LiquidJS docs for those. - Template-context globals —
tenant(),navigation(),settings(), theall_*collection drops. Those live in Template context.
Related
- Templates — where you'll use these tags and filters.
- Template context — globals available alongside Liquid features.