26 lines
No EOL
683 B
HTML
26 lines
No EOL
683 B
HTML
<header class="site-header">
|
|
<div class="container">
|
|
<a href="/" class="site-masthead">
|
|
<img class="site-icon" src="/images/avatar.png">
|
|
<p class="site-title">i'm abdullah tarawneh, freelance creative and consultant.</p>
|
|
</a>
|
|
<nav class="site-nav">
|
|
<ul>
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.main }}
|
|
<li class='
|
|
{{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier) }}
|
|
active
|
|
{{ end }}'>
|
|
<a href="{{ .URL | absLangURL }}">
|
|
{{ .Pre }}
|
|
<span>{{ .Name }}</span>
|
|
{{ .Post }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ partial "i18nlist.html" . }}
|
|
</nav>
|
|
</div>
|
|
</header> |