hugo-theme-terminal/layouts/_default/baseof.html
Felix Nüsse 0d2a41242a
added parameter for centered view
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
2019-02-03 16:00:13 +01:00

30 lines
698 B
HTML

<!DOCTYPE html>
<html lang="{{ $.Site.Language }}">
<head>
{{ block "title" . }}
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }}</title>
{{ end }}
{{ partial "head.html" . }}
</head>
<body class="">
{{ if eq $.Site.Params.themeWidth "full" }}
<div class="container full">
{{ else }}
<div class="container half">
{{ end }}
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }}
{{ end }}
</div>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</body>
</html>