diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-07 02:55:34 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-07 02:55:34 +0300 |
commit | 8082a0b4a35eff333e329d94150ccd98cf136736 (patch) | |
tree | e716f417463fb58074957d8f175611f6254a0bc9 | |
parent | dfe3fab9f1d90fc78e0036af5b57a3d5d730c4a4 (diff) | |
download | popov.link-8082a0b4a35eff333e329d94150ccd98cf136736.tar.xz popov.link-8082a0b4a35eff333e329d94150ccd98cf136736.zip |
Header file
Signed-off-by: Valentin Popov <valentineus@gmail.com>
-rw-r--r-- | _includes/header.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..4187462 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,22 @@ +<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.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 %} + </ul> + </nav> + </div> + </div> +</section> |