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" . }}
{{ .Site.Title }}
{{ end }}< / title >
< link rel = "icon" href = "data:;base64,iVBORw0KGgo=" >
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 >
< nav class = "nav" >
2020-11-24 00:52:25 +01:00
< 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" > < / 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 }}
< / body >
< / html >