• Home
  • {% for entry in site.data.nav %} {% assign class = null %} {% if page.url contains entry.url %} {% assign class = 'active' %} {% endif %}
  • {{ entry.title }} {% if entry.children %}
      {% for child in entry.children %} {% assign class = null %} {% if page.url == child.url %} {% assign class = 'active' %} {% endif %}
    • {{ child.title }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}