mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 03:51:37 +01:00
baseof: rm unused classes
single, home
This commit is contained in:
parent
b301d60f03
commit
673f7ccc96
@ -5,8 +5,14 @@
|
|||||||
{{- partial "head.html" . }}
|
{{- partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list
|
<body class="
|
||||||
{{- if .IsHome }} home{{ end }}{{ end }}{{- if eq $.Site.Params.defaultTheme `dark` }} dark{{ end }}" id="top">
|
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`)) -}}
|
||||||
|
{{- print "list" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq $.Site.Params.defaultTheme `dark` -}}
|
||||||
|
{{- print " dark" }}
|
||||||
|
{{- end -}}
|
||||||
|
" id="top">
|
||||||
{{- partialCached "header.html" . .Page}}
|
{{- partialCached "header.html" . .Page}}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
{{- block "main" . }}
|
{{- block "main" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user