Skip to content

Instantly share code, notes, and snippets.

@iainurquhart
Created November 3, 2013 21:22
Show Gist options
  • Save iainurquhart/7294989 to your computer and use it in GitHub Desktop.
Save iainurquhart/7294989 to your computer and use it in GitHub Desktop.
{exp:channel:entries channel="some_pages" limit="1"}
{exp:taxonomy:set_node
tree_id="2"
entry_id="{entry_id}"
}
<p>You are here:
{exp:taxonomy:breadcrumbs}
{if here}
{node_title}
{if:else}
<a href="{node_url}">{node_title}</a> &rarr;
{/if}
{/exp:taxonomy:breadcrumbs}
</p>
<h1>{title}</h1>
<div class="kicker">
{page_introduction}
</div>
<nav>
{exp:taxonomy:nav}
<li><a href="{node_url}">{node_title}</a>{children}</li>
{/exp:taxonomy:nav}
</nav>
{/exp:channel:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment