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

28 lines
762 B
HTML
Raw Normal View History

2019-01-28 03:11:02 +03:00
<!DOCTYPE html>
2019-01-29 13:18:14 +03:00
<html lang="{{ $.Site.Language }}">
2019-01-28 03:11:02 +03:00
<head>
{{ block "title" . }}
2020-07-17 00:56:01 +03:00
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ end }}</title>
2019-01-28 03:11:02 +03:00
{{ end }}
{{ partial "head.html" . }}
</head>
2020-07-17 00:56:01 +03:00
<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
2019-02-26 11:30:10 +03:00
{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }}
<div class="{{- $container -}}{{- cond ($.Site.Params.oneHeadingSize | default true) " headings--one-size" "" }}">
2019-01-28 03:11:02 +03:00
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }}
{{ end }}
</div>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</body>
</html>