2018-09-10 09:21:59 +00:00
|
|
|
<header id="header" class="header">
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for desktop */%>
|
2018-11-08 01:57:15 +00:00
|
|
|
<nav id="main-nav" class="main-nav">
|
2018-11-01 01:35:09 +00:00
|
|
|
<% for (let i in theme.menu) { %>
|
2018-09-10 09:21:59 +00:00
|
|
|
<a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
2018-11-11 06:25:13 +00:00
|
|
|
|
|
|
|
<div class="searchContainer">
|
2020-01-18 05:46:01 +00:00
|
|
|
<form id="searchForm" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
|
2019-06-23 07:40:15 +00:00
|
|
|
<input type="text" name="q" class="searchBox" id="searchTxt" placeholder="Search..." title="Powered by DuckDuckGo">
|
2019-11-12 10:19:27 +00:00
|
|
|
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
2019-06-07 09:09:51 +00:00
|
|
|
<input type="hidden" name="kd" value="-1">
|
|
|
|
<input type="hidden" name="kg" value="p">
|
|
|
|
<input type="hidden" name="kae" value="#000">
|
|
|
|
<a class="searchBtn no-underline" id="searchClick">
|
2019-05-21 04:07:10 +00:00
|
|
|
<svg viewBox="0 0 512 512">
|
2019-06-23 07:40:15 +00:00
|
|
|
<title>Powered by DuckDuckGo</title>
|
2019-05-21 04:07:10 +00:00
|
|
|
<desc>Search icon</desc>
|
|
|
|
<use href="/svg/search.svg#search"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2019-06-07 09:09:51 +00:00
|
|
|
</form>
|
2018-11-11 06:25:13 +00:00
|
|
|
</div>
|
2018-09-10 09:21:59 +00:00
|
|
|
</nav>
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for mobile */%>
|
|
|
|
<nav class="mobile-nav">
|
2019-11-14 02:22:14 +00:00
|
|
|
<h1><a href="<%- url_for(theme.menu['Home']) %>"><%= config.title %></a></h1>
|
2018-11-08 01:41:23 +00:00
|
|
|
<ul class="mobile-nav-menu">
|
2018-11-12 10:13:32 +00:00
|
|
|
<label for="mobile-menu-toggle"><a class="no-underline">☰ Menu</a></label>
|
2018-11-08 01:41:23 +00:00
|
|
|
<input id="mobile-menu-toggle" type="checkbox"/>
|
|
|
|
<ul class="mobile-nav-link">
|
2019-06-01 09:21:51 +00:00
|
|
|
<div class="searchContainer">
|
2020-01-18 05:46:01 +00:00
|
|
|
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
|
2019-06-23 07:40:15 +00:00
|
|
|
<input type="text" name="q" class="searchBox" id="searchTxtMob" placeholder="Search..." title="Powered by DuckDuckGo">
|
2019-11-12 10:19:27 +00:00
|
|
|
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
2019-06-07 09:09:51 +00:00
|
|
|
<input type="hidden" name="kd" value="-1">
|
|
|
|
<input type="hidden" name="kg" value="p">
|
|
|
|
<input type="hidden" name="kae" value="#000">
|
|
|
|
<a class="searchBtn no-underline" id="searchClickMob">
|
2019-06-01 09:21:51 +00:00
|
|
|
<svg viewBox="0 0 512 512">
|
2019-06-23 07:40:15 +00:00
|
|
|
<title>Powered by DuckDuckGo</title>
|
2019-06-01 09:21:51 +00:00
|
|
|
<desc>Search icon</desc>
|
|
|
|
<use href="/svg/search.svg#search"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2019-06-07 09:09:51 +00:00
|
|
|
</form>
|
2019-06-01 09:21:51 +00:00
|
|
|
</div>
|
2019-06-23 07:40:15 +00:00
|
|
|
<i>Powered by DuckDuckGo</i>
|
2019-06-01 09:21:51 +00:00
|
|
|
<% for (let i in theme.menu) { %>
|
|
|
|
<a class="mobile-nav-link-a" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
2018-11-06 06:32:15 +00:00
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-09-10 09:21:59 +00:00
|
|
|
</header>
|