Open ansin218 opened 5 years ago
The if-else condition caused the title of the site to not appear on the title tag.
This has been fixed by doing:
<title>{{ if .IsHome }}{{ .Site.Params.Title }}{{ else }}{{ .Title }}{{ end }} · {{ .Site.Params.Title }}</title>
Duplicate of https://github.com/eueung/hugo-casper-two/pull/27
The if-else condition caused the title of the site to not appear on the title tag.
This has been fixed by doing:
<title>{{ if .IsHome }}{{ .Site.Params.Title }}{{ else }}{{ .Title }}{{ end }} · {{ .Site.Params.Title }}</title>