From 50770f264f7db0bd8611bcc3a95f0585cdd80fbe Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Fri, 1 Apr 2016 18:31:20 +0200 Subject: [PATCH] Refactor head partial --- layouts/partials/head.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fbb0e67..cbb251e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,13 +1,13 @@ - + - - + {{ with .Site.Params.name }}{{ end }} + {{ with .Site.Params.description }}{{ end }} {{ .Hugo.Generator }} - {{ .Title }} · {{ .Site.Title }} + {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }}