about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAlan Pearce2017-07-04 20:40:28 +0200
committerAlan Pearce2017-07-04 20:40:28 +0200
commit3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73 (patch)
tree603637579a90af0fb92762cc112881488909c890 /layouts/partials/head.html
parent022af90cb3aa08e891639f3db47ad3bb7b47632a (diff)
parent24492a6c1b5a081847bc6f6de2d6aa7a7d32b04f (diff)
downloadhyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.tar.lz
hyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.tar.zst
hyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.zip
Merge branch 'master' of github.com:alanpearce/hyde
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 e8e7596..59304c2 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">