test

{% assign current = false %}{% if template == 'index' and link.url == '/' %}{% assign current = true %}{% elsif collection.url == link.url %}{% assign current = true %}{% elsif blog.url == link.url %}{% assign current = true %}{% elsif page.url == link.url %}{% assign current = true %}{% elsif page_title == link.title %}{% assign current = true %}{% elsif template == 'list-collections' and link.url == '/collections' %}{% assign current = true %}{% elsif page_title == 'Products' and link.url == '/collections/all' %}{% assign current = true %}{% elsif template == 'article' and link.url == article.url %}{% assign current = true %}{% endif %} <li{% if forloop.first %} class="first"{% endif %}> <a{% if current %} class="active"{% endif %} href="{{ link.url }}">{{ link.title }} {% capture child_list_handle %}{{ link.title | handle }}{% endcapture %} {% if linklists[child_list_handle] and linklists[child_list_handle].links.size > 0 %}
    {% for l in linklists[child_list_handle].links %}
  • {{ l.title }}
  • {% endfor %}
{% endif %} {% endfor %}