Skip to content

Commit 7b032f0

Browse files
LeeLee
authored andcommitted
add links to categories in nav
1 parent 2082178 commit 7b032f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

theme/static/css/main.css

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/templates/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
1919
{% endfor %}
2020
</ul>
21+
<a href="/projects" class="aio-nav__list-heading">Projects</a>
2122
<ul class="aio-nav__list" aria-label="Projects">
2223
{% for p in pages if p.prefix == "projects/" %}
2324
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
2425
{% endfor %}
2526
</ul>
27+
<a href="/news" class="aio-nav__list-heading">news</a>
2628
<ul class="aio-nav__list" aria-label="News">
2729
{% for cat, null in tags %}
2830
<li><a class="aio-nav__link" href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat }}</a></li>

0 commit comments

Comments
 (0)