Skip to content

Commit 0f89db9

Browse files
Update base.html
1 parent 179b311 commit 0f89db9

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

theme/templates/base.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@
1616
{% block nav %}
1717
{% if DISPLAY_PAGES_ON_MENU %}
1818
{% if pages %}
19-
<ul class="aio-nav__list" aria-label="Pages">
20-
{% for p in pages %}
19+
<ul class="aio-nav__list">
20+
{% for p in pages if not p.url.startswith("/projects/") %}
2121
<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 %}
26+
<ul class="aio-nav__list" aria-label="Projects">
27+
{% for p in pages if p.url.startswith("/projects/") %}
28+
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
29+
{% endfor %}
30+
</ul>
2631
{% if DISPLAY_CATEGORIES_ON_MENU %}
2732
{% if categories %}
2833
<ul class="aio-nav__list" aria-label="Categories">

0 commit comments

Comments
 (0)