www.franconian.net/layouts/_default/baseof.html

38 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
<header>
<nav class="nav">
<a class="nav-logo" href="{{ .Site.LanguagePrefix }}/"><img src="https://styleguide.rc3.world/Logo/Logo%20Set%203/SVG/Logo%20SD%20blue.svg" alt="Blue version of the rC3 logo">franconian.net</a>
{{ if .IsTranslated }}
{{ range .Translations }}
<a class="nav-link" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
<hr>
{{ end }}
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<a class="nav-link{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} nav-link-active{{ end }}" href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</nav>
</header>
<div class="wrapper">
{{ block "main" . }}
{{ end }}
</div>
<footer>
<a href="/imprint">{{ i18n "imprint" }}</a>
</footer>
</body>
</html>