aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html29
1 files changed, 18 insertions, 11 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 69be8f7..aa39a42 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,13 +1,20 @@
<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode | default `en` }}" class="scroll-smooth">
- <head>
- {{- partial "head.html" . -}}
- </head>
- <body class="max-w-screen-md px-10 mx-auto">
- {{ partial "header.html" . }}
- <main id="content">
- {{- block "main" . }}{{- end }}
- </main>
- {{- partial "footer.html" . -}}
- </body>
+<html lang="{{ .Site.LanguageCode | default `en` }}" class="scroll-smooth dark">
+ <head>
+ {{- partial "head/index" . -}}
+ </head>
+
+ <body class="max-w-screen-md mx-auto px-2.5">
+ <div class="header">
+ {{ partial "header/index" . }}
+ {{ partial "header/theme-button" . }}
+ </div>
+
+ <main id="content">
+ {{- block "main" . -}}
+ {{- end }}
+ </main>
+
+ {{- partial "footer/index" . -}}
+ </body>
</html>