fix duplicate post title as per #54

This commit is contained in:
Huy Tran 2018-12-06 10:48:12 +11:00
parent 78cffe372b
commit 8edca610b2

View file

@ -7,7 +7,7 @@
{{ if .IsHome }}
{{ $.Scratch.Set "theTitle" .Site.Title }}
{{else}}
{{ $.Scratch.Add "theTitle" .Title}}
{{ $.Scratch.Set "theTitle" .Title}}
{{ $.Scratch.Add "theTitle" " • "}}
{{ $.Scratch.Add "theTitle" .Site.Title}}
{{ end }}