about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 13:21:50 +0200
committerAlan Pearce2017-06-23 13:21:50 +0200
commit80ecb4689b15c3260d83f57dafb81bd73bd32942 (patch)
tree91580240a5455fe9c09671fa5d43c92c1add4522 /layouts/partials/head.html
parent006a4301a31495ef2c35da2d1abb2d7812c7b382 (diff)
parentdaead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff)
downloadhyde-80ecb4689b15c3260d83f57dafb81bd73bd32942.tar.lz
hyde-80ecb4689b15c3260d83f57dafb81bd73bd32942.tar.zst
hyde-80ecb4689b15c3260d83f57dafb81bd73bd32942.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 81c805f..4c79ead 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -3,7 +3,13 @@
 	<head>
 		<meta charset="UTF-8">
 		<meta name="viewport" content="width=device-width,initial-scale=1">
-		<title>{{ if ne .Title .Site.Title }}{{ .Title }} ยท {{ end }}{{ .Site.Title }}</title>
+
+		{{ if .IsHome }}
+		<title>{{ .Site.Title }}</title>
+		{{ else }}
+		<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
+		{{ end }}
+
 		<link rel="stylesheet" href="/css/poole.css">
 		<link rel="stylesheet" href="/css/syntax.css">
 		<link rel="stylesheet" href="/css/hyde.css">