abdullahtarawneh.com/layouts/partials/site-header.html

22 lines
698 B
HTML
Raw Normal View History

2020-10-10 19:09:30 +00:00
<header class="site-header">
<div class="container">
<a href="/" class="site-title"><h1>motarawneh</h1></a>
<input type="checkbox" name="hamburger" id="hamburger">
<label for="hamburger" class="hamburger-label">
<div class="spinner diagonal part-1"></div>
<div class="spinner horizontal"></div>
<div class="spinner diagonal part-2"></div>
</label>
<nav class="site-nav">
<ul>
{{- $currentPage := . -}}
{{ range .Site.Menus.main -}}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>
{{ partial "i18nlist.html" . }}
</nav>
</div>
</header>