_includes/page-links.html in jekyll-theme-hydeout-3.6.0 vs _includes/page-links.html in jekyll-theme-hydeout-3.7.0

- old
+ new

@@ -1,9 +1,9 @@ {% comment %} The code below dynamically generates a sidebar nav of pages with `sidebar_link: true` in the front-matter. See readme for usage. {% endcomment %} -{% assign pages_list = site.pages %} +{% assign pages_list = site.pages|sort:"sidebar_sort_order" %} {% for node in pages_list %} {% if node.title != null %} {% if node.sidebar_link %} <a class="page-link {% if page.url == node.url %} active{% endif %}" href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>