aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/navbar.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/common/navbar.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html
index d2f5ea3..6cf0e74 100644
--- a/_includes/common/navbar.html
+++ b/_includes/common/navbar.html
@@ -11,7 +11,8 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
- {% for node in site.pages %}
+ {% assign page_list = site.pages | sort: "navbar_priority" %}
+ {% for node in page_list %}
{% if node.root_page %}
{% if navbar_has_root_page %}
{% continue %}