1
0

Better aside navigation responsivity

This commit is contained in:
2022-06-06 23:19:09 +02:00
parent 639d1744b1
commit 6ab6193662
3 changed files with 24 additions and 3 deletions

View File

@ -22,9 +22,14 @@
</header>
<div class="wrap grid">
<aside>
<ul>
<span class="title">Navigation</span>
<ul class="nav">
{% for item in config.extra.nav %}
<li><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
<li
{% if item.mobile_only %}
class="mobile-only"
{% endif %}
><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
<span class="title">Categories</span>