{if segment_3} {exp:channel:entries channel="galleries" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" url_title="{segment_3}" } {embed="assets/.header" page_title="{title} Gallery"}

{title}

{if gallery_description}

{gallery_description}

{/if}
{gallery_images}
{caption}
{/gallery_images}
{embed="assets/.footer"} {/exp:channel:entries} {if:else} {embed="assets/.header" page_title="Gallery and Past Projects"}

Gallery and Past Projects

{exp:channel:entries channel="galleries" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" } {/exp:channel:entries}
{embed="assets/.footer"} {/if}