mirror of
https://github.com/adulau/art.git
synced 2024-11-24 11:07:06 +00:00
Update header.html
This commit is contained in:
parent
994b88a776
commit
bd2f119a34
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@
|
||||||
<nav id="menu">
|
<nav id="menu">
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.path == "index.html" %}
|
{% if page.url == "index.html" %}
|
||||||
<li><a href="{{ page.url | prepend: site.baseurl | remove: "index.html" }}">{{ page.title }}</a></li>
|
<li><a href="{{ page.url | prepend: site.baseurl | remove: "index.html" }}">{{ page.title }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.path !== "index.html" %}
|
{% if page.url !== "index.html" %}
|
||||||
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
|
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue