summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html30
1 files changed, 13 insertions, 17 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8d4a8db..4a2a490 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,34 +1,30 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
-{{ partial "head.html" . }}
-<body class="d-flex flex-column h-100">
+<head>
+ {{ partial "head.html" . }}
+</head>
+
+<body data-theme="auto">
+ {{ partial "scripts-front.html" . }}
{{ partial "header.html" . }}
<main>
<div class="container-lg clearfix">
<!-- list -->
- <div class="col-md-9 col-12 float-left" id="content">
+ <div class="col-12 col-md-9 float-left content">
{{ block "main" . }}{{ end }}
</div>
- <!-- sidebar -->
- <div class="col-md-3 col-12 float-left link-alter" id="sidebar">
- {{ partial "sidebar.html" . }}
- </div>
- <!-- global APlayer -->
- {{ if .Site.Params.playerURL }}
- <div id="aplayer"></div>
- {{ end }}
- {{ if .Site.Params.scrollTop }}
- <div id="scroll-top">
- <i class="fas fa-chevron-up"></i>
- </div>
- {{ end }}
+ {{ partial "sidebar.html" . }}
</div>
+ {{ partial "components.html" . }}
</main>
{{ partial "footer.html" . }}
- {{ partial "scripts.html" . }}
+ {{ if or .Params.math .Site.Params.math }}
+ {{ partial "math.html" . }}
+ {{ end }}
+ {{ partial "scripts-end.html" . }}
</body>
</html> \ No newline at end of file