diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 15:19:46 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 15:19:46 +0800 |
| commit | ca373fd00303c93ed62eafa55696ab03d23667b2 (patch) | |
| tree | 96bc1c036117352311fa52da233bb5836ec99814 /layouts/_default/baseof.html | |
| parent | a016d836633b6e223d1ac3ee0ddb262eca0d626d (diff) | |
add type- and kind- classes to body, styling newsletter single and section
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e74c03e..0d78fad 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,8 +12,7 @@ {{- end -}} {{- if eq site.Params.defaultTheme `dark` -}} {{- print " dark" }} -{{- end -}} -{{- block "bodyClass" . }}{{ end }} +{{- end }} type-{{ .Type }} kind-{{ .Kind -}} " id="top"> {{- partialCached "header.html" . .Page -}} <main class="main {{- if (eq .Kind `page`) -}}{{- print " post" -}}{{- end -}}"> |
