diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b40489f..ca0320d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ {{/* Overwriting the theme partial to set custom meta tags, reduce css and remove unused components. */}} - {{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} + {{ if .Params.Title }}{{ .Params.Title }} {{ else }} {{ .Site.Title }} {{ end }} {{- if not hugo.IsProduction }} {{- end }}