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

29 lines
810 B
HTML
Raw Normal View History

2020-10-10 19:09:30 +00:00
<header class="site-header">
<div class="container">
2020-10-10 23:43:26 +00:00
<a href="/" class="site-masthead">
<img class="site-icon" width=32 src="/images/people/avatar.png">
<p class="site-title">i'm abdullah tarawneh, creative and technical consultant.</p>
2020-10-10 23:43:26 +00:00
</a>
2020-10-10 19:09:30 +00:00
<nav class="site-nav">
<ul>
2021-10-18 04:03:36 +00:00
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class='
{{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier) }}
active
{{ end }}'>
2020-10-10 23:43:26 +00:00
<a href="{{ .URL | absLangURL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
{{ .Post }}
</a>
2020-10-10 19:09:30 +00:00
</li>
2021-10-18 04:03:36 +00:00
{{ end }}
2020-10-10 19:09:30 +00:00
</ul>
{{ partial "i18nlist.html" . }}
</nav>
</div>
</header>
<div style="position: relative;">
<div id="top" style="scroll-margin-top: var(--header-height);"></div>
</div>