1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-23 21:32:20 +00:00
strimertul-website/layouts/partials/header.html

26 lines
664 B
HTML
Raw Permalink Normal View History

2023-01-11 13:36:19 +00:00
<header class="site-nav">
2023-02-19 20:17:13 +00:00
<a href="/" class="appname">
<img src="/brand/icon-logo.svg" height="30" /> strimertül
</a>
2023-01-11 13:36:19 +00:00
<nav>
2023-02-18 00:04:20 +00:00
<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 }}
2023-11-12 00:49:01 +00:00
<a href="https://git.sr.ht/~ashkeel/strimertul">Source code</a>
2023-01-11 13:36:19 +00:00
</nav>
</header>