Automatically generate nav from pages? ``` {% assign pages = site.pages | sort:"weight" %} <ul> {% for p in pages %} <li> <a {% if p.url == page.url %}class="active"{% endif %} href="{{ site.baseurl }}{{ p.url }}"> {{ p.name }} </a> </li> {% endfor %} </ul> ``` Decent overview: https://thinkshout.com/blog/2014/12/creating-dynamic-menus-in-jekyll/
Automatically generate nav from pages?
Decent overview: https://thinkshout.com/blog/2014/12/creating-dynamic-menus-in-jekyll/