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

40 lines
1.3 KiB
HTML
Raw 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-02-28 16:59:26 +00:00
<a href="https://github.com/strimertul/strimertul">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
style="padding-right: 1px;margin-left:0"
viewBox="-32 -32 160 160"
>
<path
fill="#fff"
fill-rule="evenodd"
d="M49 0A49 49 0 0034 96c2 0 3-1 3-2V84c-14 3-17-5-17-5-2-6-5-8-5-8-5-3 0-3 0-3 5 1 8 5 8 5 4 8 11 6 14 4 0-3 2-5 3-6-11-1-22-5-22-24 0-6 2-10 5-14-1-1-2-6 0-13 0 0 4-1 14 5a47 47 0 0112-1l12 1c9-6 13-5 13-5 3 7 1 12 1 13 3 4 5 8 5 14 0 19-11 23-22 24 1 1 3 4 3 9v14c0 1 1 2 3 2 20-7 34-25 34-47C98 22 76 0 49 0z"
clip-rule="evenodd"
></path></svg
>GitHub</a
>
2023-01-11 13:36:19 +00:00
</nav>
</header>