aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-09-29 19:17:13 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-01 07:51:11 +0200
commit4c41e477e13d37e187c8de4225c7e8056bd9ed28 (patch)
tree33a7b51a0ed2c2ae207fc8f89f1454ccb77596a5 /layouts/_default/baseof.html
parent4720b07e9f18915cf1f6466245a92dedd11fdc55 (diff)
Internalise theme
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>