work.suroh.tk/_includes/nav.njk

27 lines
709 B
Plaintext
Raw Normal View History

2019-12-02 12:22:45 +00:00
<nav id="primary">
<span data-link="~"><~</span>
{% for c in siteSettings.categories %}
<span data-link="{{c}}">█</span>
{% endfor %}
</nav>
<span id="audioToggle"></span>
<nav id="sub">
{% for c in siteSettings.categories %}
<ul id="{{c}}">
{% for p in collections.pages %}
{% if (p.data.category == c) %}
<li><a href="{{p.url}}">{{p.data.title or p.fileSlug}}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}
</nav>
<section style="position: fixed; bottom: 0; left: 0; margin: 0; padding: 0; width: 100vw; height: 50vh; z-index: 100;">
<div style="position: relative; width: 100%; height: 100%;">
<h1 id="menuItem" class=""></h1>
</div>
</section>