Fix invalid HTML element name

Wrong: <headclass="live-site">
Right: <head class="live-site">

Make it so.
This commit is contained in:
Tim Bannister
2022-06-14 13:49:49 +01:00
parent 7aa5a90d74
commit 40c2c147d1
+1 -1
View File
@@ -3,7 +3,7 @@
{{- if eq hugo.Environment "preview" -}}
<!-- deploy preview -->
{{- end -}}
<head {{- if hugo.IsProduction -}}class="live-site"{{- end -}}>
<head{{- if hugo.IsProduction}} class="live-site"{{- end -}}>
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }}{{- if ne (lower .Params.cid) "" -}}{{- printf " cid-%s" (lower .Params.cid) -}}{{- end -}}">