diff options
author | amzrk2 | 2020-05-27 22:53:13 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-27 22:53:13 +0800 |
commit | dfb6e1f80754c1c8f2d4d332c5292319f008a67b (patch) | |
tree | fd8c0cf13e03613b6a39c662b6a0ced87fb69157 /layouts/_default/baseof.html | |
parent | aa5290aeef9df1c583fdf30290351968df9215dc (diff) | |
download | hugo-theme-fuji-dfb6e1f80754c1c8f2d4d332c5292319f008a67b.tar.gz hugo-theme-fuji-dfb6e1f80754c1c8f2d4d332c5292319f008a67b.tar.bz2 hugo-theme-fuji-dfb6e1f80754c1c8f2d4d332c5292319f008a67b.zip |
v2 original port
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8d4a8db..a61499c 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="{{ .Site.Params.toggleMode }}"> + {{ 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 |