{% for c in site.data.how-to-categories %}
  • {{c.name}}
      {% assign allPages = site.pages | sort: "order" %} {% for p in allPages %} {% assign pageVersion = p.dir | split: "/" %} {% if pageVersion[1] == "release" and pageVersion[2] == version[2] and p.tags contains "how-to" and p.category == c.category %}
    • {{ p.title }}
    • {% endif %} {% endfor %}
  • {% endfor %}