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

23 lines
631 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" src="/images/avatar.png">
2020-10-29 23:58:18 +00:00
<h1 class="site-title">i'm abdullah tarawneh, freelance creative and consultant.</h1>
2020-10-10 23:43:26 +00:00
</a>
2020-10-10 19:09:30 +00:00
<nav class="site-nav">
<ul>
{{- $currentPage := . -}}
{{ range .Site.Menus.main -}}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}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>
{{- end }}
</ul>
{{ partial "i18nlist.html" . }}
</nav>
</div>
</header>