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.

15 lines
513 B
HTML

<header>
<nav class="horizon">
{% set current_path = current_path | default(value="/") %}
{% if current_path =="/" or current_path =="/posts/" or current_path is starting_with("/page/") %}
{% else %}
<a href="/" class="start">••</a>
{% 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>