You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
503 B
HTML

<header>
<nav class="horizon">
{% set current_path = current_path | default(value="/") %}
{% if current_path =="/" or current_path is starting_with("/page/") %}
{% else %}
<div class="start"><a href="/" >••</a></div>
{% endif %}
{% if config.extra.mode == "toggle" %}
<a id="dark-mode-toggle" onclick="toggleTheme()" href=""></a>
<script src={{ get_url(path="/js/themetoggle.js") }}></script>
{% endif %}
</nav>
</header>