summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-19 15:33:26 +0200
committermms <michal@sapka.me>2024-05-19 15:33:26 +0200
commitf4bb92435d069f84ce41d4ecae51641872de2270 (patch)
treee830735f772bd789473884dafbeabc8cad63dc8f /layouts/_default/baseof.html
parente25abc08a5d3e7b94b638d837d26acbc0b79f14b (diff)
feat: themes
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
deleted file mode 100644
index e348fd5..0000000
--- a/layouts/_default/baseof.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- {{ partial "header/meta" . }}
-
- {{ $section_class := "mms"}}
- {{ if in .Page.Params.categories "star-trek" }}
- {{ $section_class = "star-trek" }}
- {{ else if in .Page.Params.category "site-info" }}
- {{ $section_class = "site-info" }}
- {{ else if in .Page.Params.categories "bsd" }}
- {{ $section_class = "bsd" }}
- {{ else if in .Page.Params.categories "blog" }}
- {{ $section_class = "blog" }}
- {{ else if in .Page.Params.categories "article" }}
- {{ $section_class = "article" }}
- {{ else if in .Page.Params.categories "emacs" }}
- {{ $section_class = "emacs" }}
- {{ else if in .Page.Params.categories "brainrot" }}
- {{ $section_class = "brain-rot" }}
- {{ end }}
- <body class="{{ $section_class }}">
- {{ partial "header/header" . }}
-
- <main class="right-column">
- {{ block "main" . }}
- {{ end }}
- </main>
- {{ partial "footer/footer" . }}
- </body>
-</html>