You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<nav>
|
|
|
|
<input type="checkbox" id="menu">
|
|
|
|
<label for="menu">☰</label>
|
|
|
|
<div class="menu-content">
|
|
|
|
{% for item in site.data.nav %}
|
|
|
|
<a href="{{ item.link }}" class="nav-link" {% if item.link == page.url %} class="on-page"{% endif %} {% if item.new_tab == true %} target="_blank" rel="noopener noreferrer" {% endif %}>
|
|
|
|
{% if item.image %}
|
|
|
|
<img src="{{ item.image }}" alt="{{ item.name }}">
|
|
|
|
{% else %}
|
|
|
|
{{ item.name }}
|
|
|
|
{% endif %}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</nav>
|