_includes/header.html in jekyll-theme-prologue-0.2.2 vs _includes/header.html in jekyll-theme-prologue-0.2.3

- old
+ new

@@ -25,14 +25,14 @@ <li><a href="http://foobar.tld" id="foobar-link" class="icon fa-whatever-icon-you-want"><span class="label">Foobar</span></a></li> --> <ul> {% assign sections = site.sections | where_exp: 'section','section.order >= 1' %} - {% unless site.sections == null %} + {% unless sections == null %} {% assign sections = sections | sort: 'order' %} {% for section in sections %} - {% assign slug = section.title | slugify | default: 'untitled' %} {% assign title = section.title | default: 'Untitled' %} + {% assign slug = section.title | slugify | default: 'untitled' %} {% assign icon = section.icon | default: 'fa-file' %} <li><a href="#{{ slug }}" id="{{ slug }}-link" class="skel-layers-ignoreHref"><span class="icon {{ icon }}">{{ title }}</span></a></li> {% endfor %} {% endunless %} </ul>