mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
theme: Add page kind as a CSS class to body
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "layouts/head/head.html" . }}
|
{{ partial "layouts/head/head.html" . }}
|
||||||
</head>
|
</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" . }}
|
{{ partial "layouts/hooks/body-start.html" . }}
|
||||||
{{/* Layout. */}}
|
{{/* Layout. */}}
|
||||||
{{ block "header" . }}
|
{{ block "header" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user