28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
<!-- Navigation -->
|
|
<div id="logo" class="logo">
|
|
<a href="/" class="smooth-scroll-middle"><img width="100em" src="{{ site.logo }}" alt="{{ site.name }} Logo" /></a>
|
|
<a href="#navbar" onclick="blurBody()" alt="Navigation Menu" title="Navigation Menu"><span style="font-size: 34px;" class="icon solid fa-bars"></span></a>
|
|
</div>
|
|
|
|
<div id="navbar" style="display: block;" class="modalDialog">
|
|
<a href="#close" onclick="removeBlur()" alt="Close Menu" title="Close Menu"><div id="closearea"> </div></a>
|
|
<nav>
|
|
<a href="#close" title="Close" onclick="removeBlur()" class="close-button close" style="margin: 0 auto;">X</a>
|
|
<ul>
|
|
{% if page.url != '/' %}
|
|
<li><a href="{{ relBase }}/" class="button small">{{ site.data.translations[page.lang].home }}</a></li>
|
|
{% endif %}
|
|
{% for entry in site.data.navigation %}
|
|
{% if entry.external_site == false %}
|
|
<li><a href="{{ relBase }}{{ entry.url }}" class="button small">{{ entry.name }}</a></li>
|
|
{% else %}
|
|
<li><a href="{{ entry.url }}" target="_blank" rel="noopener" class="button small">{{ entry.name }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<!-- End Navigation --> |