summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-12 22:41:06 +0200
committermms <michal@sapka.me>2024-04-12 22:41:06 +0200
commit8dd36320e39cc2d47df7f8af920c32b497059b38 (patch)
tree765ef87f555c705b4e9ca080c60f1357da181cf5 /layouts/_default
parent3f2eaa37c2ba1ba343f26ff3ae5d6b118be63abf (diff)
feat: brain root v1
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/index.html1
2 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 4c7116b..6325675 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -58,6 +58,8 @@
{{ $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" . }}
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 49c3ed1..8dba7d3 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -24,6 +24,7 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we
<a href="/blog/">&raquo; Go to blog</a>
</p>
+{{ partial "partials/homepage/brainrot" . }}
{{ partial "partials/homepage/bsd.html" . }}
{{ partial "partials/homepage/emacs.html" . }}
{{ partial "partials/homepage/startrek.html" . }}