diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-11 03:33:35 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-11 03:33:35 +0300 |
commit | ee1f867d1803e2b0cdc7c10b06dd0f1cdc078868 (patch) | |
tree | 27c2d082b3927f5080d7a398a6a863f055fd7d92 | |
parent | c687de978af72312832b6831ce554b3b54142a8e (diff) | |
download | popov.link-ee1f867d1803e2b0cdc7c10b06dd0f1cdc078868.tar.xz popov.link-ee1f867d1803e2b0cdc7c10b06dd0f1cdc078868.zip |
Page title
-rw-r--r-- | _includes/header.html | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/_includes/header.html b/_includes/header.html index a7b7933..01c9e92 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,24 +1,14 @@ -<section class="header"> - <div class="container"> - <div class="content"> - <!-- Username --> - <a href="{{ site.baseurl | uri_escape }}"> - <div class="name">{{ site.author.name | smartify | strip_html | normalize_whitespace }}</div> - </a> - <!-- Navigating --> - <nav> - <ul> - {% 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> - </div> +<section class="container"> + <a href="{{ site.baseurl | uri_escape }}" class="navigation-title">Home</a> + <ul class="navigation-list float-right"> + <li class="navigation-item"> + {% for item in site.pages %} + {% if item.show == true %} + <a href="{{ item.url | relative_url | uri_escape }}" class="navigation-link"> + {{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} + </a> + {% endif %} + {% endfor %} + </li> + </ul> </section> |