{% for section in site.sections %}
{% assign attr = section[0] %}
{% assign label = section[1] %}
{% assign url = section[2] %}
{% if url == nil %}
{% for page in site.categories[attr] %}
{% if forloop.first %}
{% endif %}
- {{ page.title }}
{% endfor %}
{% else %}
{% endif %}
{% endfor %}