diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-03-07 18:02:42 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-03-07 18:02:42 +0300 |
commit | 8d68e05d0e03f1f28e2e9fc58313633f146ff5b0 (patch) | |
tree | a9f0d351dea1773e60481a494978e004534c4d7a | |
parent | _includes: merge links.html to navbar.html (diff) | |
download | blog-8d68e05d0e03f1f28e2e9fc58313633f146ff5b0.tar.gz blog-8d68e05d0e03f1f28e2e9fc58313633f146ff5b0.zip |
'group' to 'groups' in the front matter
Diffstat (limited to '')
-rw-r--r-- | _includes/navbar.html | 2 | ||||
-rw-r--r-- | index.html | 2 |
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 %} @@ -1,7 +1,7 @@ --- title: Main page layout: main -group: +groups: - navbar navbar_link: <span class="glyphicon glyphicon-home"></span> Main page --- |