summaryrefslogtreecommitdiff
path: root/themes/terminal/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/terminal/layouts/_default/baseof.html')
-rw-r--r--themes/terminal/layouts/_default/baseof.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/terminal/layouts/_default/baseof.html b/themes/terminal/layouts/_default/baseof.html
new file mode 100644
index 0000000..ae3b9cc
--- /dev/null
+++ b/themes/terminal/layouts/_default/baseof.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="{{ $.Site.Language }}">
+<head>
+ {{ block "title" . }}
+ <title>{{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ end }}</title>
+ {{ end }}
+ {{ partial "head.html" . }}
+</head>
+<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
+{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default false) "container center" "container") }}
+
+<div class="{{- $container -}}{{- cond ($.Site.Params.oneHeadingSize | default true) " headings--one-size" "" }}">
+
+ {{ partial "header.html" . }}
+
+ <div class="content">
+ {{ block "main" . }}
+ {{ end }}
+ </div>
+
+ {{ block "footer" . }}
+ {{ partial "footer.html" . }}
+ {{ end }}
+</div>
+
+</body>
+</html>