summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorDSRKafuU2020-06-04 07:21:13 -0500
committerGitHub2020-06-04 07:21:13 -0500
commit73244a2e55dffa158027126346eefd5bafa5fea8 (patch)
treec98ee9fbdb6f474579aa769a2a4b0b4c98fd21f1 /layouts/_default/baseof.html
parentaa5290aeef9df1c583fdf30290351968df9215dc (diff)
parent914bf54c493b299268c293be33a8babf99b1cce2 (diff)
downloadhugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.tar.gz
hugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.tar.bz2
hugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.zip
Merge pull request #24 from amzrk2/dev
v2 pre-release
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