Skip to content

Commit

Permalink
Fix invalid HTML element name
Browse files Browse the repository at this point in the history
Wrong: <headclass="live-site">
Right: <head class="live-site">

Make it so.
  • Loading branch information
sftim committed Jun 14, 2022
1 parent 7aa5a90 commit 40c2c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}">
Expand Down

0 comments on commit 40c2c14

Please sign in to comment.