Skip to content

Instantly share code, notes, and snippets.

@thatericsmith
Last active December 16, 2015 01:49
Show Gist options
  • Save thatericsmith/5358235 to your computer and use it in GitHub Desktop.
Save thatericsmith/5358235 to your computer and use it in GitHub Desktop.
The menu token in Convergence
<!--
Example for a site that has Home, About, Contact.
-->
<!-- TOKEN -->
<@menu type="main" id="main-nav"/@>
<!-- OUTPUT -->
<ul class="menu menu-type-main menu-level-0" id="main-nav">
<li class="menu-page-home active ">
<a class="menu-page-home active" href="home">Home</a>
</li>
<li class="menu-page-about ">
<a class="menu-page-about" href="about">About</a>
</li>
<li class="menu-page-contact ">
<a class="menu-page-contact" href="contact">Contact</a>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment