1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-21 21:22:21 +00:00
strimertul-website/layouts/partials/header.html
Ash Keel 828e2a89c0
All checks were successful
continuous-integration/drone/push Build is passing
move releases to website
2023-11-12 01:49:01 +01:00

25 lines
664 B
HTML

<header class="site-nav">
<a href="/" class="appname">
<img src="/brand/icon-logo.svg" height="30" /> strimertül
</a>
<nav>
<a
href="{{ relURL "" }}"
{{ if .IsHome }}class="current"{{ end }}
>Overview</a
>
{{ $currentPage := . }}
{{ $section := .Site.GetPage $currentPage.Section }}
{{ range .Site.Menus.main }}
<a
class="navbar-item {{ if $section.IsMenuCurrent "main" . }}
current
{{ end }}"
href="{{ .URL | absLangURL | safeURL }}"
>
{{ .Name }}
</a>
{{ end }}
<a href="https://git.sr.ht/~ashkeel/strimertul">Source code</a>
</nav>
</header>