|
13 | 13 | <section class="aio-nav"> |
14 | 14 | {% block header %}{{ super() }}{% endblock header %} |
15 | 15 | {% block nav %} |
16 | | - {% if DISPLAY_PAGES_ON_MENU %} |
17 | | - {% if pages %} |
18 | | - <ul class="aio-nav__list"> |
19 | | - {% for p in pages if not p.prefix == "projects/" %} |
20 | | - <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li> |
21 | | - {% endfor %} |
22 | | - </ul> |
23 | | - {% endif %} |
24 | | - {% endif %} |
| 16 | + <ul class="aio-nav__list"> |
| 17 | + {% for p in pages if not p.prefix == "projects/" %} |
| 18 | + <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li> |
| 19 | + {% endfor %} |
| 20 | + </ul> |
25 | 21 | <ul class="aio-nav__list" aria-label="Projects"> |
26 | 22 | {% for p in pages if p.prefix == "projects/" %} |
27 | 23 | <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li> |
28 | 24 | {% endfor %} |
29 | 25 | </ul> |
30 | | - {% if DISPLAY_CATEGORIES_ON_MENU %} |
31 | | - {% if tags %} |
32 | | - <ul class="aio-nav__list" aria-label="Categories"> |
33 | | - {% for cat, null in tags %} |
34 | | - <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat}}</a></li> |
35 | | - {% endfor %} |
36 | | - </ul> |
37 | | - {% endif %} |
38 | | - {% endif %} |
39 | | - {% if DISPLAY_SPONSORS_ON_MENU %} |
40 | | - {% if SPONSORS %} |
41 | | - <ul class="aio-nav__list" aria-label="Sponsors"> |
42 | | - {% for sponsor, null in SPONSORS %} |
43 | | - <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ sponsor.url }}">{{ sponsor }}</a></li> |
44 | | - {% endfor %} |
45 | | - </ul> |
46 | | - {% endif %} |
47 | | - {% endif %} |
48 | | - {% if DISPLAY_LINKS_ON_MENU %} |
49 | | - {% if LINKS %} |
50 | | - <ul class="aio-nav__list" aria-label="Links"> |
51 | | - {% for title, link in LINKS %} |
52 | | - <li><a class="aio-nav__link" href="{{ link }}">{{ title }}</a></li> |
53 | | - {% endfor %} |
54 | | - </ul> |
55 | | - {% endif %} |
56 | | - {% endif %} |
| 26 | + <ul class="aio-nav__list" aria-label="News"> |
| 27 | + {% for cat, null in tags %} |
| 28 | + <li><a class="aio-nav__link" href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat }}</a></li> |
| 29 | + {% endfor %} |
| 30 | + </ul> |
57 | 31 |
|
58 | 32 | <div id="sponsor-sidebar" class="aio-sponsor-sidebar"></div> |
59 | 33 | {% endblock nav %} |
60 | 34 | </section> |
61 | 35 | <section class="aio-content"> |
62 | | - {% block content %} |
63 | | - {% endblock content %} |
| 36 | + {% block content %}{% endblock content %} |
64 | 37 | </section> |
65 | 38 | </main> |
66 | 39 |
|
|
0 commit comments