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

27 lines
945 B
HTML
Raw Normal View History

2020-10-06 01:20:54 +02:00
<!DOCTYPE html>
2020-11-23 00:48:30 +01:00
<html lang="{{ .Site.LanguageCode }}">
2020-10-06 01:20:54 +02:00
<head>
<meta charset="utf-8">
2020-11-23 11:17:25 +01:00
<meta name="viewport" content="width=device-width,initial-scale=1.0">
2020-10-06 01:20:54 +02:00
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
2020-10-06 01:20:54 +02:00
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
2020-11-23 02:56:53 +01:00
<header>
<nav class="nav">
<a class="nav-logo" href="/"><img src="https://styleguide.rc3.world/Logo/Logo%20Set%203/SVG/Logo%20SD%20blue.svg" alt="Blue version of the rC3 logo"></a>
{{ $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>
2020-10-06 01:20:54 +02:00
{{ block "main" . }}
{{ end }}
</body>
</html>