hugo-theme-terminal/layouts/_default/baseof.html

28 lines
735 B
HTML
Raw Normal View History

2019-01-28 00:11:02 +00:00
<!DOCTYPE html>
2019-01-29 10:18:14 +00:00
<html lang="{{ $.Site.Language }}">
2019-01-28 00:11:02 +00:00
<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="">
2019-02-26 08:30:10 +00:00
{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }}
<div class="{{- $container -}}">
2019-01-28 00:11:02 +00:00
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }}
{{ end }}
</div>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</body>
</html>