_includes/header.html in jenstep_theme-0.1.1 vs _includes/header.html in jenstep_theme-0.1.2
- old
+ new
@@ -1,8 +1,8 @@
<header class="site-header" role="banner">
<div class="wrapper">
- {%- assign default_paths = site.pages | map: "path" -%}
+ {%- assign default_paths = site.pages | sort:"order" | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%}
<a class="site-title" rel="author" href="{{ '/' | relative_url }}">{{ site.title | escape }}</a>
{%- if page_paths -%}
<nav class="site-nav">