Skip to Content

Theme

The theme object provides information about the current theme, such as its name, version, and cache manifest.

Usage Example

{%- comment -%} Show theme name and version {%- endcomment -%} <p>Theme: {{ theme.name }} (v{{ theme.version }})</p>

Properties

cache_manifest

Access the JSON cache manifest file in the public directory of your theme.

name

Returns the theme name.

version

Returns the theme version.

Last updated on