Skip to content

Instantly share code, notes, and snippets.

@navilan
Created March 2, 2009 16:15
Show Gist options
  • Save navilan/72831 to your computer and use it in GitHub Desktop.
Save navilan/72831 to your computer and use it in GitHub Desktop.
<ul>
<li{% ifequal page.module site.module %} class="selected" {% endifequal %}>
<a href="{{site.listing_url}}">Home</a>
</li>
{% for module in site.children %}
<li{% ifequal page.module module %} class="selected" {% endifequal %}>
<a href="{{module.listing_url}}">
{{module.name|unslugify}}
</a>
</li>
{% endfor %}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment