abdullahtarawneh.com/layouts/partials/site-header.html
2020-10-16 15:00:32 -05:00

23 lines
No EOL
627 B
HTML

<header class="site-header">
<div class="container">
<a href="/" class="site-masthead">
<img class="site-icon" src="/images/avatar.png">
<h1 class="site-title">abdullah tarawneh, freelance creative and consultant.</h1>
</a>
<nav class="site-nav">
<ul>
{{- $currentPage := . -}}
{{ range .Site.Menus.main -}}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL | absLangURL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
{{ .Post }}
</a>
</li>
{{- end }}
</ul>
{{ partial "i18nlist.html" . }}
</nav>
</div>
</header>