Skip to content

theme object ​

The theme that renders the current page. It is available in every template.

Properties ​


NameTypeDescription
idstringTheme identifier
namestringTheme name
activebooleanWhether the theme is the published theme of the store
is_dev_themebooleanWhether the theme is a development theme from the CLI
liquid
{% if theme.is_dev_theme %}
  <div class="dev-banner">{{ theme.name }}</div>
{% endif %}