cosin-website/themes/cosin-theme/layouts/_default/baseof.html
2018-09-01 17:17:51 +02:00

32 lines
1,005 B
HTML

<!DOCTYPE html>
<html lang='{{ .Site.Language.Lang }}'>
<head>
<title>{{ .Site.Title }} | {{ .Page.Title }}</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">
{{ 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>