diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-07 12:24:59 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-07 12:24:59 +0300 |
commit | 12d930c22ebd16379558c5e1edeb490909020ce9 (patch) | |
tree | 463580d5e46ca34775cb7daf84227b014de911d0 | |
parent | d618c2de08f41e6f6591fc4e248fe5ffade89b4e (diff) | |
download | popov.link-12d930c22ebd16379558c5e1edeb490909020ce9.tar.xz popov.link-12d930c22ebd16379558c5e1edeb490909020ce9.zip |
Adjusted title
Signed-off-by: Valentin Popov <valentineus@gmail.com>
-rw-r--r-- | _includes/header.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/_includes/header.html b/_includes/header.html index 4187462..a7b7933 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -8,13 +8,15 @@ <!-- Navigating --> <nav> <ul> - {% for node in site.pages reversed %} {% if node.sidebar == true %} - <li class="nav-item"> - <a href="{{ node.url | relative_url | uri_escape }}"> - <span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span> - </a> - </li> - {% endif %} {% endfor %} + {% for node in site.pages reversed %} + {% if node.show == true %} + <li class="nav-item"> + <a href="{{ node.url | relative_url | uri_escape }}"> + <span>{{ node.title | smartify | strip_html | normalize_whitespace }}</span> + </a> + </li> + {% endif %} + {% endfor %} </ul> </nav> </div> |