summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b5305ab..c34bf8f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -40,7 +40,12 @@
<link rel="webmention" href="https://webmention.io/d-s.sh/webmention">
<link rel="pingback" href="https://webmention.io/d-s.sh/xmlrpc">
</head>
- <body>
+
+ {{ $section_class := "mms"}}
+ {{ if in .Page.Params.category "star-trek" }}
+ {{ $section_class = "star-trek" }}
+ {{ end }}
+ <body class="{{ $section_class }}">
<header>
<div class="logo">
</div>