diff options
author | Alan Pearce | 2017-07-04 20:40:28 +0200 |
---|---|---|
committer | Alan Pearce | 2017-07-04 20:40:28 +0200 |
commit | 3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73 (patch) | |
tree | 603637579a90af0fb92762cc112881488909c890 /layouts/partials/head.html | |
parent | 022af90cb3aa08e891639f3db47ad3bb7b47632a (diff) | |
parent | 24492a6c1b5a081847bc6f6de2d6aa7a7d32b04f (diff) | |
download | hyde-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.html | 8 |
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 }} · {{ .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"> |