revuo-weekly/_includes/menu.html
2022-04-16 01:14:54 -05:00

29 lines
1 KiB
HTML

<nav {% if site.reverse == true %}id="nav-left"{% else %}id="nav"{% endif %}>
<div id="nav-list">
<div class="nav-actions">
<!-- Dark Mode Button -->
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
<a class="icon" href="https://revuo-xmr.com/issue-116.html#donate" target="_blank"><img src="/img/donate.png" alt="Donate" title="Donate" /></a>
<a class="icon" href="/atom.xml" target="_blank"><img src="/img/rss_1.png" alt="ATOM Feed" title="ATOM Feed" /></a>
</div>
<a href="{{ site.baseurl }}">Revuo Weekly</a>
<!-- Nav pages -->
{% for page in site.pages %}
{% if page.layout == "page" %}
<a href="{% if site.baseurl == "/" %}{{ page.url }}{% else %}{{ page.url | prepend: site.baseurl }}{% endif %}" title="{{ page.title }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</div>
<!-- Nav footer -->
{% if site.custom_nav_footer == true %}
{% include nav-footer-custom.html %}
{% else %}
{% include nav-footer.html %}
{% endif %}
</nav>