navigation.html 341 B

12345678910111213
  1. {% assign default_paths = site.pages | map: "path" %}
  2. {% assign page_paths = site.header_pages | default: default_paths %}
  3. {% for path in page_paths %}
  4. {% assign page = site.pages | where: "path", path | first %}
  5. {% if page.title %}
  6. <a href="{{ page.url }}">{{ page.title }}</a>
  7. {% endif %}
  8. {% endfor %}