fix base
This commit is contained in:
parent
3bb1d50066
commit
6a76bf5104
1 changed files with 7 additions and 5 deletions
|
@ -34,11 +34,13 @@
|
||||||
<li {%ifequal page.uri home-page.uri %} class="nav-item active" {% endifequal %}
|
<li {%ifequal page.uri home-page.uri %} class="nav-item active" {% endifequal %}
|
||||||
{%ifunequal page.uri home-page.uri %} class="nav-item" {% endifunequal %}>
|
{%ifunequal page.uri home-page.uri %} class="nav-item" {% endifunequal %}>
|
||||||
<a class="nav-link" href="/">
|
<a class="nav-link" href="/">
|
||||||
{% if latest-posts %}
|
{% with latest=latest-posts|first %}
|
||||||
home
|
{%ifequal page.title latest.title %}
|
||||||
{% else %}
|
home
|
||||||
{{home-page.title}}
|
{% else %}
|
||||||
{% endif %}
|
{{home-page.title}}
|
||||||
|
{% endifequal %}
|
||||||
|
{% endwith %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue