{layout='layouts/_html-wrapper'} {!-- embed for breadcrumb, needed to pass arguments (embeds aren't evil) --} {layout:set name='breadcrumbs'} {embed='common/_breadcrumb' p_url='{layout:p_url}' p_title='{layout:p_title}' } {/layout:set} {layout:set name='scripts'} {layout:scripts} {/layout:set}
{layout:contents}
{!-- output contact info --} {exp:channel:entries channel='{layout:ch}' disable='{layout:ch_disable}' limit='1' dynamic='no'}
{site_name} {if contact_address} {contact_address} {contact_address:street}, {contact_address:street_2}
{contact_address:city}, {contact_address:state} {contact_address:zip}
{/contact_address} {/if} {if contact_phone OR contact_email} {if contact_phone}{contact_phone}{/if} {if contact_phone AND contact_email}
{/if} {if contact_email}{contact_email}{/if}
{/if}
{/exp:channel:entries}