diff --git a/themes/hugo-theme-flat/layouts/partials/head.html b/themes/hugo-theme-flat/layouts/partials/head.html
index 3c59d0b..f7d6548 100644
--- a/themes/hugo-theme-flat/layouts/partials/head.html
+++ b/themes/hugo-theme-flat/layouts/partials/head.html
@@ -4,9 +4,7 @@
-
-
-
+
{{ $title := .Site.Title -}}
{{ if .Params.Title -}}
{{ $title = printf "%s | %s" .Params.Title $title -}}