portails/layouts/_default/baseof.html

30 lines
986 B
HTML
Raw Normal View History

2020-04-15 15:48:16 +02:00
<!doctype html>
<html lang="{{ .Site.LanguageCode | default "en" }}">
2020-11-04 08:26:58 +01:00
{{ partial "head/head.html" . }}
2020-04-15 15:48:16 +02:00
{{ if eq .Kind "home" -}}
{{ .Scratch.Set "class" "home" -}}
{{ else if eq .Kind "404" -}}
{{ .Scratch.Set "class" "error404" -}}
{{ else if eq .Kind "page" -}}
{{ .Scratch.Set "class" .Type -}}
{{ .Scratch.Add "class" " single" -}}
{{ else -}}
{{ .Scratch.Set "class" .Type -}}
{{ .Scratch.Add "class" " list" -}}
{{ end -}}
<body class="{{ .Scratch.Get "class" }}">
2020-11-04 08:26:58 +01:00
{{ partial "header/header.html" . }}
2020-04-15 15:48:16 +02:00
<div class="wrap container" role="document">
<div class="content">
{{ block "main" . }}{{ end }}
</div>
</div>
2020-11-04 08:26:58 +01:00
{{ block "sidebar-prefooter" . }}{{ end }}
{{ block "sidebar-footer" . }}{{ end }}
{{ partial "footer/footer.html" . }}
{{ if and .IsHome .Site.Params.alert }}
{{ partial "footer/alert.html" . }}
2020-04-15 15:48:16 +02:00
{{ end }}
2020-11-04 08:26:58 +01:00
{{ partial "footer/script-footer.html" . }}
2020-04-15 15:48:16 +02:00
</body>
</html>