Allows you to load any Site Setting by name. If a setting with the given name is not found, null will be returned.

  Settings are returned as strings, but you can use Type Filters to convert them to other types.
{{ settings["My Setting"] }}

{% assign search_enabled = settings["Search/Enabled"] | boolean %}
{% if search_enabled %}
Search is enabled.
{% endif %}

{% assign pagesize = settings['page size'] | integer | default: 10 %}

{% if pagesize > 10 %}
Page size is greater than 10.
{% endif %}