Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/s4n7h0/hugo-theme-timeline.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..007539e
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.Language }}">
+ <head>
+ {{ partial "head.html" . }}
+ </head>
+
+ <body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
+ <div class="container">
+ {{ partial "header.html" . }}
+
+ <div class="content">
+ {{ block "main" . }}{{ end }}
+ </div>
+
+ {{ block "footer" . }}
+ {{ partial "footer.html" . }}
+ {{ end }}
+ </div>
+
+ {{ partial "javascript.html" . }}
+ </body>
+</html>