{exp:stash:parse} {embed="_inc/head"} {embed="_inc/header"} {exp:channel:entries channel="content|services" limit="1" orderby="title" sort="asc" status="open" dynamic="no" url_title="contact" {g:param_disable_default} {g:param_cache} } {p_stash} {p_content_snippets}
{if feature_image}
{/if}

{summary}

{if segment_2}{/if}
{/exp:channel:entries} {if segment_2}
    {exp:channel:entries channel="content|services" limit="1" orderby="title" sort="asc" status="open" dynamic="no" url_title="locations" {g:param_disable_default} {g:param_cache} } {related_locations url_title="{segment_2}" limit="1"} {/related_locations} {/exp:channel:entries} {exp:channel:entries channel="content|services" limit="1" orderby="title" sort="asc" status="open" dynamic="no" url_title="locations" {g:param_disable_default} {g:param_cache} } {related_locations url_title="not {segment_2}"} {/related_locations} {/exp:channel:entries}
{if:else}
    {exp:channel:entries channel="content|services" limit="1" orderby="title" sort="asc" status="open" dynamic="no" url_title="locations" {g:param_disable_default} {g:param_cache} } {related_locations} {/related_locations} {/exp:channel:entries}
{/if}
{embed="_inc/footer"} {/exp:stash:parse}