mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
add config for default theme
- ex. defaultTheme: dark
This commit is contained in:
parent
f09f18212e
commit
2955f2a19d
@ -5,7 +5,8 @@
|
||||
{{- partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home{{ end }}{{ end }}">
|
||||
<body
|
||||
class="{{ if eq .Kind `page` }}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