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
1 changed files with 8 additions and 2 deletions

View File

@ -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" . }}