summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@protonmail.com>2017-09-07 21:43:11 +0200
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2017-09-07 21:43:11 +0200
commitfe56862a539d0196b4c6e852d3fa31e0768733c9 (patch)
tree9589af770eff474427e1f6448110d6a03d1b078b /layouts/partials/head.html
parent82832c1244f2d536c754efb98fbdb02b1844f4c7 (diff)
Trim more whitespace in template logic
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 447a27c..d602f3f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,11 +8,11 @@
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
- {{ if .IsHome }}
+ {{ if .IsHome -}}
<title>{{ .Site.Title }}</title>
- {{ else }}
+ {{- else -}}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
- {{ end }}
+ {{- end }}
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">