2020-11-25 13:02:12 +01:00
{{ $currentPage := . }}
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" . }}
2020-11-24 21:50:02 +01:00
{{ .Title }} | {{ .Site.Title }}
2020-10-06 01:20:54 +02:00
{{ end }}< / title >
2020-12-26 18:43:17 +01:00
< link rel = "icon" href = "/franconianNet.svg" sizes = "any" type = "image/svg+xml" >
2020-11-13 18:40:46 +01:00
{{ $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 >
2020-11-24 21:50:02 +01:00
< nav class = "nav nav-main" >
2020-12-06 10:55:25 +01:00
< a class = "nav-logo" href = "{{ .Site.LanguagePrefix }}/" > < img src = "/franconianNet.svg" alt = "Logo of franconian.net" > {{ .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
{{ range .Site.Menus.main }}
2020-12-23 00:04:05 +01:00
< a class = "nav-link{{ if or ($currentPage.IsMenuCurrent " main " . ) ( $ currentPage . HasMenuCurrent " main " . ) } } nav-link-active { { end } } " href = "{{ .URL }}" { { if hasPrefix . URL " https: / / " } } target = "_blank" { { end } } > {{ .Name }}< / a >
2020-11-23 02:56:53 +01:00
{{ end }}
< / nav >
< / header >
2020-10-06 01:20:54 +02:00
{{ block "main" . }}
{{ end }}
2020-11-24 17:58:00 +01:00
< footer >
2020-11-25 13:02:12 +01:00
{{ i18n "last_change" . }}: {{ .Lastmod.Format "2006-01-02 15:04:05 -0700" }}
2020-11-24 21:50:02 +01:00
< nav class = "nav" >
{{ range .Site.Menus.footer }}
2020-11-25 13:02:12 +01:00
< a class = "nav-link{{ if or ($currentPage.IsMenuCurrent " footer " . ) ( $ currentPage . HasMenuCurrent " footer " . ) } } nav-link-active { { end } } " href = "{{ .URL }}" > {{ .Name }}< / a >
2020-11-24 21:50:02 +01:00
{{ end }}
< / nav >
2020-11-24 17:58:00 +01:00
< / footer >
2020-10-06 01:20:54 +02:00
< / body >
< / html >