aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-03-07 18:02:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-03-07 18:02:42 +0300
commit8d68e05d0e03f1f28e2e9fc58313633f146ff5b0 (patch)
treea9f0d351dea1773e60481a494978e004534c4d7a
parent_includes: merge links.html to navbar.html (diff)
downloadblog-8d68e05d0e03f1f28e2e9fc58313633f146ff5b0.tar.gz
blog-8d68e05d0e03f1f28e2e9fc58313633f146ff5b0.zip
'group' to 'groups' in the front matter
-rw-r--r--_includes/navbar.html2
-rw-r--r--index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index 517c9a6..d763c3e 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -12,7 +12,7 @@
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{% for node in site.pages %}
- {% if node.group contains 'navbar' %}
+ {% if node.groups contains 'navbar' %}
{% if page.url == node.url %}
<li class="active"><a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.navbar_link }}</a></li>
{% else %}
diff --git a/index.html b/index.html
index 653f409..bf256a7 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
---
title: Main page
layout: main
-group:
+groups:
- navbar
navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
---