2022-01-06 08:46:14 +00:00
|
|
|
<header id="top-menu">
|
2022-01-13 11:04:33 +00:00
|
|
|
<div class="mobile-menu">
|
|
|
|
<button class="hamburger" onclick="this.classList.toggle('opened'); document.querySelector('.drawer').classList.toggle('opened');">
|
|
|
|
<svg width="30" fill="#3C3D3D" viewBox="0 0 50 40">
|
|
|
|
<g>
|
|
|
|
<path class="top" d="M0 8h50v3H0z"/>
|
|
|
|
<path class="bottom" d="M0 28h50v3H0z"/>
|
|
|
|
<path class="middle" d="M0 18h50v3H0z"/>
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
<a href="https://members.lumbung.space" id="login">login</a>
|
|
|
|
</div>
|
|
|
|
|
2022-01-17 10:09:40 +00:00
|
|
|
<a href="/" class="home-link">
|
2022-01-06 08:46:14 +00:00
|
|
|
<img class="logo" src="{{ .Site.Params.Logo }}" alt="{{ .Site.Title }}">
|
|
|
|
</a>
|
2022-01-13 11:04:33 +00:00
|
|
|
|
2022-01-05 12:58:28 +00:00
|
|
|
<nav class="menu">
|
|
|
|
<ul>
|
2022-01-06 08:46:14 +00:00
|
|
|
{{/* {{ $currentPage := . }}
|
2022-01-05 12:58:28 +00:00
|
|
|
{{ range .Site.Menus.main }}
|
2022-01-06 08:46:14 +00:00
|
|
|
{{ if .HasChildren }}
|
|
|
|
<details class="menu-dropdown">
|
|
|
|
<summary class="menu-nav-item {{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
|
|
|
<a href="#">
|
|
|
|
{{ .Pre }}
|
|
|
|
<span>{{ .Name }}</span>
|
|
|
|
</a>
|
|
|
|
</summary>
|
|
|
|
<ul class="sub-menu">
|
|
|
|
{{ range .Children }}
|
|
|
|
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</details>
|
|
|
|
{{ else }}
|
|
|
|
<li class="menu-nav-item">
|
|
|
|
<a href="{{ .URL }}">
|
|
|
|
{{ .Pre }}
|
|
|
|
<span>{{ .Name }}</span>
|
|
|
|
</a>
|
2021-12-15 10:09:08 +00:00
|
|
|
</li>
|
2022-01-06 08:46:14 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }} */}}
|
2022-01-12 09:32:35 +00:00
|
|
|
<li><a href="/">home</a></li>
|
2022-01-17 10:28:22 +00:00
|
|
|
<li><a href="/about/">about</a></li>
|
2022-01-12 09:25:01 +00:00
|
|
|
<li><a href="/calendar/">calendar</a></li>
|
2022-01-17 13:13:24 +00:00
|
|
|
<li><a href="/tv/">tv</a></li>
|
|
|
|
<li><a href="/social/">social</a></li>
|
|
|
|
<li><a href="/pen/">pen</a></li>
|
|
|
|
<li><a href="/shouts/">shouts</a></li>
|
2022-01-05 12:58:28 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-01-13 11:04:33 +00:00
|
|
|
|
|
|
|
<aside class="drawer">
|
|
|
|
<ul>
|
|
|
|
{{/* {{ $currentPage := . }}
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
{{ if .HasChildren }}
|
|
|
|
<details class="menu-dropdown">
|
|
|
|
<summary class="menu-nav-item {{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
|
|
|
<a href="#">
|
|
|
|
{{ .Pre }}
|
|
|
|
<span>{{ .Name }}</span>
|
|
|
|
</a>
|
|
|
|
</summary>
|
|
|
|
<ul class="sub-menu">
|
|
|
|
{{ range .Children }}
|
|
|
|
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</details>
|
|
|
|
{{ else }}
|
|
|
|
<li class="menu-nav-item">
|
|
|
|
<a href="{{ .URL }}">
|
|
|
|
{{ .Pre }}
|
|
|
|
<span>{{ .Name }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }} */}}
|
|
|
|
<li><a href="/">home</a></li>
|
2022-01-17 13:43:04 +00:00
|
|
|
<li><a href="/about/">about</a></li>
|
2022-01-13 11:04:33 +00:00
|
|
|
<li><a href="/calendar/">calendar</a></li>
|
2022-01-17 13:43:04 +00:00
|
|
|
<li><a href="/tv/">tv</a></li>
|
|
|
|
<li><a href="/social/">social</a></li>
|
|
|
|
<li><a href="/pen/">pen</a></li>
|
|
|
|
<li><a href="/shouts/">shouts</a></li>
|
2022-01-13 11:04:33 +00:00
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
|
2022-01-06 08:46:14 +00:00
|
|
|
<div>
|
|
|
|
<div class="search">
|
2022-01-06 09:10:05 +00:00
|
|
|
<img src="{{ .Site.Params.baseURL }}/img/search.svg" alt="search">
|
2022-01-06 08:46:14 +00:00
|
|
|
<input type="search" name="" id="">
|
|
|
|
</div>
|
2022-01-10 12:28:12 +00:00
|
|
|
<a href="https://members.lumbung.space" id="login">login</a>
|
2022-01-06 08:46:14 +00:00
|
|
|
</div>
|
2022-01-07 08:43:27 +00:00
|
|
|
</header>
|