Header file
Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
parent
dfe3fab9f1
commit
8082a0b4a3
22
_includes/header.html
Normal file
22
_includes/header.html
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user