diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e9d0bfd4..1a56247b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,11 @@ +{{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} + +{{- else }} + +{{- end -}} {{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} - {{ end }}{{end}}{{ .Site.Title }}