layout | title | noindex |
---|---|---|
page |
Sitemap |
true |
-
{% assign pages_list = site.pages | sort: 'navigation' %}
{% for node in pages_list %}
{% if node.title != nil and node.navigation != nil and node.parent == nil %}
- {{ node.short | default: node.title }} ({{node.navigation}})
{% if node.section != nil %}{% assign sub_list = site.pages | where: 'parent', node.section | sort: 'navigation' %}
{% if sub_list %}
-
{% for sub in sub_list %}
- {{ sub.short | default: sub.title }} ({{sub.navigation}}) {% endfor %}
{% endif %}
{% endfor %}
-
{% for node in pages_list %}
{% if node.parent == nil and node.title != nil and node.parent == nil and node.navigation == nil and node.url != "/" and node != page %}
- {{ node.short | default: node.title }} ({{node.navigation}}) {% endif %} {% endfor %}