<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>