Skip to content

Instantly share code, notes, and snippets.

@AndreiRailean
Created May 21, 2010 06:50
Show Gist options
  • Save AndreiRailean/408554 to your computer and use it in GitHub Desktop.
Save AndreiRailean/408554 to your computer and use it in GitHub Desktop.
<div id="categories">
<div id="categories-wrapper">
<ul class="top">
{% for toplink in linklists.product-top-menu.links %}
{% capture link_section %}{{ toplink.title | handleize }}{% endcapture %}
<li class="category {% if forloop.first %}first{% endif %}"><a>{{ toplink.title }}</a>
<ul class="items">
{% for link in linklists[link_section].links %}
<li><a href="{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment