We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dfe0d1 commit 4592cf5Copy full SHA for 4592cf5
layouts/_default/baseof.html
@@ -1,6 +1,9 @@
1
<!doctype html>
2
<html lang="{{ .Site.Language.Lang }}" class="{{.Params.class}} no-js">
3
- <head>
+{{- if eq hugo.Environment "preview" -}}
4
+ <!-- deploy preview -->
5
+{{- end -}}
6
+ <head {{- if hugo.IsProduction -}}class="live-site"{{- end -}}>
7
{{ partial "head.html" . }}
8
</head>
9
<body class="td-{{ .Kind }}{{- if ne (lower .Params.cid) "" -}}{{- printf " cid-%s" (lower .Params.cid) -}}{{- end -}}">
0 commit comments