File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments