popov.link/_includes/header.html
Valentin Popov 8082a0b4a3 Header file
Signed-off-by: Valentin Popov <valentineus@gmail.com>
2018-04-06 23:55:34 +00:00

23 lines
877 B
HTML

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