summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/index.html1
-rw-r--r--layouts/partials/homepage/brainrot.html7
-rw-r--r--layouts/partials/homepage/bsd.html3
4 files changed, 12 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 4c7116b0..6325675e 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 49c3ed14..8dba7d3f 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" . }}
diff --git a/layouts/partials/homepage/brainrot.html b/layouts/partials/homepage/brainrot.html
new file mode 100644
index 00000000..d43033bd
--- /dev/null
+++ b/layouts/partials/homepage/brainrot.html
@@ -0,0 +1,7 @@
+<section class="brain-rot">
+ <h2 id="brain-rot"><a href="#brain-rot">Brain rot</a></h2>
+ "Mark my words, this stuff will rot your brain!"<br>
+ -- society
+
+ {{ partial "menu.html" (dict "menuID" "brain-rot" "page" .) }}
+</section>
diff --git a/layouts/partials/homepage/bsd.html b/layouts/partials/homepage/bsd.html
index 00e8f21c..195318b1 100644
--- a/layouts/partials/homepage/bsd.html
+++ b/layouts/partials/homepage/bsd.html
@@ -20,6 +20,7 @@
>
- Some articles on the BSD family of Operating Systems I use: {{ partial "menu.html" (dict "menuID" "bsd" "page" .) }}
+ Some articles on the BSD family of Operating Systems I use:
+ {{ partial "menu.html" (dict "menuID" "bsd" "page" .) }}
</section>