settings
Allows you to access all of the theme's settings from the file.
Directly accessible in
- Global
Anchor to Reference a setting value
Reference a setting value
{% if settings.favicon != blank %}
<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{% endif %}
{% if settings.favicon != blank %}
<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{% endif %}
{
"settings": {
"favicon": null
}
}
Output
Was this section helpful?