diff options
-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 --- |