theme: Add page kind as a CSS class to body

This commit is contained in:
Bjørn Erik Pedersen 2025-02-15 11:58:53 +01:00
parent 269657e8f1
commit b878613aad
No known key found for this signature in database

View File

@ -40,7 +40,7 @@
{{ end }}
{{ partial "layouts/head/head.html" . }}
</head>
<body class="flex flex-col min-h-full bg-white dark:bg-blue-950">
<body class="flex flex-col min-h-full bg-white dark:bg-blue-950 kind-{{ .Kind }}">
{{ partial "layouts/hooks/body-start.html" . }}
{{/* Layout. */}}
{{ block "header" . }}