Navigation panel from Bootstrap
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
7ee0e7a478
commit
c6174916f5
@ -1,11 +1,16 @@
|
|||||||
{% assign pages = site.pages | where: "show", true %}
|
{% assign pages = site.pages | where: "show", true %}
|
||||||
|
|
||||||
<nav class="navigation">
|
<nav class="bg-light navbar navbar-expand navbar-light sticky-top" role="navigation">
|
||||||
<a href="{{ site.url | uri_escape }}">Home</a>
|
<div class="container">
|
||||||
|
<a class="mr-auto navbar-brand" href="#">{{ site.title }}</a>
|
||||||
{% for page in pages %}
|
<ul class="navbar-nav">
|
||||||
<a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
|
{% for page in pages %}
|
||||||
{{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
<li class="nav-item">
|
||||||
</a>
|
<a class="nav-link" href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
|
||||||
{% endfor %}
|
{{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user