0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 08:00:26 +03:00

fix(navbar): Correct the look of navigation links

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-12-16 17:22:26 +04:00
parent 543fb8d259
commit 0645f56405
2 changed files with 10 additions and 13 deletions

View File

@ -4,7 +4,9 @@
<ul class="nav-pills">
{% unless page.url == "/index.html" %}
<li role="presentation">
<a class="nav-link" href="/">Home</a>
<strong>
<a class="nav-link" href="/">Home</a>
</strong>
</li>
{% endunless %}
@ -12,9 +14,11 @@
<ul class="nav-pills nav-right">
{% for page in pages %}
<li role="presentation">
<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 }}
</a>
<strong>
<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 }}
</a>
</strong>
</li>
{% endfor %}
</ul>