diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8dfcd5c..3a10107 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ -{{ if and (.Title) (not .IsHome) }}{{ .Title }} - {{ end }}{{ .Site.Title }} +{{ partial "title.html" }} {{ with .OutputFormats.Get "rss" -}} diff --git a/layouts/partials/title.html b/layouts/partials/title.html new file mode 100644 index 0000000..648d9df --- /dev/null +++ b/layouts/partials/title.html @@ -0,0 +1 @@ +{{ if and (.Title) (not .IsHome) }}{{ .Title }} - {{ end }}{{ .Site.Title }}