Skip to content

Commit 29bffab

Browse files
Update base.html
1 parent a060697 commit 29bffab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

theme/templates/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
{% if DISPLAY_PAGES_ON_MENU %}
1818
{% if pages %}
1919
<ul class="aio-nav__list">
20-
{% for p in pages if not p.url.startswith("/projects/") %}
21-
<li><a class="aio-nav__link" href="{{ SITEURL }}/a{{ p.url }}a{{ p.prefix }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
20+
{% for p in pages if not p.prefix == "projects/") %}
21+
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
2222
{% endfor %}
2323
</ul>
2424
{% endif %}
2525
{% endif %}
2626
<ul class="aio-nav__list" aria-label="Projects">
27-
{% for p in pages if p.url.startswith("/projects/") %}
27+
{% for p in pages if p.prefix == "projects/" %}
2828
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
2929
{% endfor %}
3030
</ul>

0 commit comments

Comments
 (0)