Skip to content

Instantly share code, notes, and snippets.

@bearduk
Created February 7, 2018 11:38
Show Gist options
  • Save bearduk/d870316e35bf011e42d0c51d197b92dd to your computer and use it in GitHub Desktop.
Save bearduk/d870316e35bf011e42d0c51d197b92dd to your computer and use it in GitHub Desktop.
microsite-example-nav-t4-output
<!-- microsites are self contained in sections 4 levels deep in the CMS. This means that they have no sibling sections and so we're able to output the structure in exactly the same way as the main k-web site, we just start at level 4. Level 4 becomes 'currentbranch0' -->
<html>
<body>
<!-- navigation object : k-core-microsite-nav -->
<span class="currentbranch0">
<a href="/ts/micro-1/">Test microsite home 1</a>
</span>
<ul class="multilevel-linkul-0">
<li>
<a href="/ts/micro-1/aboutmicrosite1/">About microsite 1</a>
</li>
<li>
<a href="/ts/micro-1/contactmicrosite1/">Contact microsite 1</a>
</li>
<li>
<a href="/ts/micro-1/contentmicrosite1/">Content microsite 1</a>
<ul class="multilevel-linkul-1">
<li>
<a href="/ts/micro-1/contentmicrosite1/subpage1microsite1/">Sub page 1 microsite 1</a>
<ul class="multilevel-linkul-2">
<li>
<a href="/ts/micro-1/contentmicrosite1/subpage1microsite1/subpage2microsite1/">Sub page 2 microsite 1</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<hr />
<p>Page id: 51294</p>
<p>dummy content</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment