work.suroh.tk/_includes/nav.njk

31 lines
799 B
Plaintext
Raw Normal View History

2019-12-02 12:22:45 +00:00
<nav id="primary">
<span data-link="~"><~</span>
2023-01-10 17:12:00 +00:00
{% for c in site.categories %}
<span data-link="{{c}}">█</span>
2019-12-02 12:22:45 +00:00
{% endfor %}
</nav>
<span id="audioToggle" class="active"></span>
2019-12-02 12:22:45 +00:00
<nav id="sub">
2023-01-10 17:12:00 +00:00
{% for c in site.categories %}
<ul id="{{c}}">
{% for p in collections.pages %}
{% if (p.data.category == c) %}
<li>
<a href="{{p.url}}">{{p.data.title | makeLowercase or p.fileSlug | makeLowercase}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
2019-12-02 12:22:45 +00:00
{% endfor %}
</nav>
<section style="position: fixed; bottom: 0; left: 0; margin: 0; padding: 0; width: 100vw; height: 0px; overflow: visible; z-index: 100;mix-blend-mode: difference;">
2019-12-02 12:22:45 +00:00
<h1 id="menuItem" class=""></h1>
</section>
<nav id="toTop">
<span>top</span>
2023-01-10 17:12:00 +00:00
</nav>