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

41 lines
1.3 KiB
HTML
Raw Normal View History

2020-10-06 01:20:54 +02:00
<!DOCTYPE html>
2020-11-24 00:52:25 +01:00
<html lang="{{ .Site.Language.Lang }}">
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" . }}
{{ .Title }} | {{ .Site.Title }}
2020-10-06 01:20:54 +02:00
{{ 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 nav-main">
<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">{{ .Site.Title }}</a>
2020-11-24 13:09:45 +01:00
{{ if .IsTranslated }}
{{ range .Translations }}
<a class="nav-link" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
<hr>
{{ end }}
2020-11-23 02:56:53 +01:00
{{ $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 }}
2020-11-24 17:58:00 +01:00
<footer>
{{ i18n "last_change" . }}: {{ .Lastmod }}
<nav class="nav">
{{ range .Site.Menus.footer }}
<a class="nav-link" href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</nav>
2020-11-24 17:58:00 +01:00
</footer>
2020-10-06 01:20:54 +02:00
</body>
</html>