refactor(html): Update navigation bar
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
e519b8c147
commit
3e5d059d43
@ -1,22 +1,22 @@
|
|||||||
{% assign pages = site.pages | where: "show", true %}
|
{% assign pages = site.pages | where: "show", true %}
|
||||||
|
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
<div class="container">
|
<ul class="nav-pills">
|
||||||
<ul class="nav nav-pills">
|
|
||||||
{% unless page.url == "/index.html" %}
|
{% unless page.url == "/index.html" %}
|
||||||
<li role="presentation"><a href="/">Home</a></li>
|
<li role="presentation">
|
||||||
|
<a class="nav-link" href="/">Home</a>
|
||||||
|
</li>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
<!-- Right side -->
|
<!-- Right side -->
|
||||||
<ul class="nav nav-pills pull-right">
|
<ul class="nav-pills nav-right">
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
|
<a class="nav-link" href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
|
||||||
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user