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

30 lines
698 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="">
{{ if eq $.Site.Params.themeWidth "full" }}
<div class="container full">
{{ else }}
<div class="container half">
{{ end }}
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>