T

{% if section.settings.home_page_content != blank or page.empty? %} {% assign page = pages[section.settings.home_page_content] %} {% assign page_src = page.content | escape %} {% if page_src contains '<img' %} {% assign homepage_page_grid = 'one-whole' %} {% else %} {% assign homepage_page_grid = 'large--five-sixths push--large--one-twelfth' %} {% endif %}
{% if section.settings.home_page_show_title %}

{{ page.title | escape }}

{% endif %}
{{ page.content }}
{% else %}
{{ 'home_page.onboarding.no_content' | t }}
{% endif %}
{% schema %} { "name": "Page", "settings": [ { "id": "home_page_content", "type": "page", "label": "Page" }, { "type": "checkbox", "id": "home_page_show_title", "label": "Show page title", "default": true }, { "type": "select", "id": "homepage_page_color", "label": "Background color", "default": "homepage--white", "options": [ { "value": "homepage--white", "label": "White"}, { "value": "homepage--light", "label": "Light"}, { "value": "homepage--splash", "label": "Accent"}, { "value": "homepage--dark", "label": "Dark"} ] } ], "presets": [{ "name": "Page", "category": "Text" }] }