mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
baseof: archive to use body class list
This commit is contained in:
parent
5e129bde1d
commit
c76ab82a3c
@ -6,7 +6,7 @@
|
||||
</head>
|
||||
|
||||
<body
|
||||
class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home {{ end }}{{ end }}{{ if eq $.Site.Params.defaultTheme `dark` }} dark {{ end }}">
|
||||
class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list{{ if .IsHome }} home {{ end }}{{ end }}{{ if eq $.Site.Params.defaultTheme `dark` }} dark {{ end }}">
|
||||
{{- partial "header.html" . }}
|
||||
<main class=" main">
|
||||
{{- block "main" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user