baseof: rm unused classes

single, home
This commit is contained in:
Aditya Telange 2020-11-28 22:33:57 +05:30
parent b301d60f03
commit 673f7ccc96
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -5,8 +5,14 @@
{{- partial "head.html" . }}
</head>
<body 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 }}" id="top">
<body class="
{{- 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}}
<main class="main">
{{- block "main" . }}