Theme info
- The first entry of
config/settings_schema.jsoncan be atheme_infoobject. See Theme info. theme init, a theme import and a save ofsettings_schema.jsonread it. A theme export writes it.theme_versionmust beX.Y.Z.theme_documentation_urlis required, with one oftheme_support_urlortheme_support_email.- An invalid
theme_infois rejected with a 422 and one message per field. theme inittakes--urland--inplace. See Commands.
Liquid
{% liquid %}takes one tag per line and has no closing tag. A line that starts with#is a comment. See liquid.{% echo %}takes any expression and applies filters, the same as. See echo.{% dump %}prints its value as JSON in a<pre>block, and applies filters.{% # %}is an inline comment and renders nothing. It accepts whitespace control and several lines that each start with#.replaceandremoveacceptnilinput.
Theme files
- Layouts, sections and snippets must use
.liquid. Templates, locales and config files must use.json. config/accepts onlysettings_schema.jsonandsettings_data.json.theme devskips files whose name starts with a dot.- Section
presetsacceptcategory. Preset blocks taketypeandsettings.