cosin-website/themes/cosin-theme/layouts/_default/baseof.html
2018-04-23 20:46:27 +02:00

36 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang='{{ .Site.Language.Lang | default "de" }}'>
<head>
<title>{{ block "title" . }}{{ .Site.Title }}{{ with .Title }} | {{ . }}{{ end }}{{ end }}</title>
<meta charset="utf-8">
{{ .Hugo.Generator }}
<link href='{{ "css/custom.css" | absURL }}' rel="stylesheet" type="text/css" />
</head>
<body>
{{ block "header" . }} {{ partial "site-header.html" . }} {{ end }}
{{ block "menu" . }} {{ partial "site-menu.html" . }} {{ end }}
<div id="content">
{{ block "sidebar" . }}
{{ 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 }}
{{ end }}
{{ block "main" . }} {{ end }}
<div style="clear: both;"></div>
</div>
{{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }}
</body>
</html>