cosin-website/layouts/_default/baseof.html
Ral cee38cf326
Some checks failed
/ test (push) Failing after 1m13s
Hugo: Switch to non-deprecated method
2024-12-02 23:01:24 +01:00

35 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang='{{ .Site.Language.Lang }}'>
<head>
<meta charset="utf-8">
<title>{{ .Site.Title }} | {{ .Page.Title }}</title>
<!-- Include our own css last -->
{{ $options := dict "targetPath" "custom.css" "outputStyle" "compressed" }}
{{ $style := resources.Get "/sass/custom.css" | css.Sass $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}"/>
{{ partial "opengraph.html" .}}
</head>
<body>
{{ block "header" . }} {{ partial "site-header.html" . }} {{ end }}
{{ block "menu" . }} {{ partial "site-menu.html" . }} {{ end }}
<div id="content">
{{ if eq .Site.Language.Lang "de" }}
{{ partial "site-sidebar.de.html" . }}
{{ else if eq .Site.Language.Lang "fr" }}
{{ partial "site-sidebar.fr.html" . }}
{{ else if eq .Site.Language.Lang "it" }}
{{ partial "site-sidebar.it.html" . }}
{{ else if eq .Site.Language.Lang "en" }}
{{ partial "site-sidebar.en.html" . }}
{{ end }}
{{ block "main" . }} {{ end }}
<div id="clear"></div>
</div>
{{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }}
</body>
</html>