Skip to content

Instantly share code, notes, and snippets.

@brandonkelly
Created January 24, 2010 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonkelly/285106 to your computer and use it in GitHub Desktop.
Save brandonkelly/285106 to your computer and use it in GitHub Desktop.
{exp:channel:entries channel="ee" url_title="{segment_3}" limit="1"}
{if no_results}{embed="site/404"}{/if}
{exp:docs:page entry_id="{entry_id}" url_title="{segment_4}"}
{if no_page}{embed="site/404"}{/if}
{embed="site/-header" title="{title} - Docs - {docs_page_title}" id="{url_title}-docs" class="ee docs"}
<header class="clearafter">
<hgroup class="left">
<h1>{title}</h1>
<h2>{ee_subhead}</h2>
</hgroup>
<figure class="right">
<img src="/content/{url_title}/images/hero.png">
</figure>
<div class="innershadow"></div>
<nav>
<ul>
<li><a href="/{url_title}">Overview</a></li>
<li><a href="/{url_title}/releasenotes">Release Notes</a></li>
<li class="active"><a href="/{url_title}/docs">Docs</a></li>
</ul>
</nav>
</header>
<nav class="right tree">
{exp:docs:tree entry_id="{entry_id}" base_url="/{url_title}/docs" selected="{docs_page_url_title}"}
</nav>
<div class="content">
{docs_page_contents}
</div>
{embed="site/-footer"}
{/exp:docs:page}
{/exp:channel:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment