How to setup a multi domain start page
{% assign domain = context.location.host -%}
{% case domain %}
{% when 'www.domainone.com' or 'domainone.com' -%}
{% content_for siteglide_head_scripts -%}
<title>Home - Domain One</title>
{% endcontent_for -%}
{%- include 'content_section', id: '17', name: 'Domain One Page' -%}
{% when 'www.domaintwo.com' or 'domaintwo.com' -%}
{% content_for siteglide_head_scripts -%}
<title>Home - Domain Two</title>
{% endcontent_for -%}
{%- include 'content_section', id: '15', name: 'Domain Two Page' -%}
{% else -%}
{% content_for siteglide_head_scripts -%}
<title>Home - Other Domain</title>
{% endcontent_for -%}
{%- include 'content_section', id: '16', name: 'Other Domain Page' -%}
{% endcase -%}Last updated
Was this helpful?

