mirror of
https://github.com/adulau/foo.be.git
synced 2024-11-22 01:37:05 +00:00
Prepend links with site baseurl
This commit is contained in:
parent
cdf4fc56d3
commit
623ef876f5
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
<nav class="c-navigation {% if site.fixedNav == 'true' %}is-fixed{% endif %}">
|
||||
<div class="c-navigation__container u-container">
|
||||
<a class="c-navigation__item {% if page.url == '/' %}is-active{% endif %}" href="/">Home</a>
|
||||
<a class="c-navigation__item {% if page.url == '/articles/' %}is-active{% endif %}" href="/articles/">Articles</a>
|
||||
<a class="c-navigation__item {% if page.url == '/about/' %}is-active{% endif %}" href="/about/">About</a>
|
||||
<a class="c-navigation__item {% if page.title == '/contact/' %}is-active{% endif %}" href="/contact/">Contact</a>
|
||||
<a class="c-navigation__item {% if page.url == '/' %}is-active{% endif %}" href="{{ "/" | prepend: site.baseurl }}">Home</a>
|
||||
<a class="c-navigation__item {% if page.url == '/articles/' %}is-active{% endif %}" href="{{ "/articles/" | prepend: site.baseurl }}">Articles</a>
|
||||
<a class="c-navigation__item {% if page.url == '/about/' %}is-active{% endif %}" href="{{ "/about/" | prepend: site.baseurl }}">About</a>
|
||||
<a class="c-navigation__item {% if page.title == '/contact/' %}is-active{% endif %}" href="{{ "/contact/" | prepend: site.baseurl }}">Contact</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue