{% comment %}
This snippet spits out the HTML navigation derived from the front matter settings in your markdown files.
https://gist.github.com/dominikwilkowski/c7d916c9b36e4eebbc90
Usage:
{% include navigation.liquid %}
Return:
HTML direct output
Required:
Front matter needs this element:
---
weight: "010.030.020"
---
{% endcomment %}
{% assign pages = site.pages | sort: "weight" %}
{% assign levels = 0 %}