Skip to content

Instantly share code, notes, and snippets.

@ebarstad
Created October 6, 2009 19:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ebarstad/203337 to your computer and use it in GitHub Desktop.
++++ Partial includes/header ++++
<title>{if embed:title != ""}{embed:title} | {/if}{site_name}</title>
++++ Single-entry template ++++
{exp:reeposition}
{embed="includes/header" body="{segment_1}" title="{reeposition:put_item}"}
{exp:weblog:entries weblog="pages" disable="categories|category_fields|member_data|pagination|trackbacks"}
{reeposition:item}{title}{/reeposition:item}
<h2>{title}</h2>
{body}
{/exp:weblog:entries}
{embed="includes/footer"}
{/exp:reeposition}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment