append site title to page titles
This commit is contained in:
parent
e0ed3c4ea4
commit
fcda00b823
|
@ -5,9 +5,9 @@
|
|||
{{ block "title" . }}
|
||||
<title>
|
||||
{{ if .IsHome }}
|
||||
{{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
|
||||
{{ $.Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
|
||||
{{ .Title }} — {{ $.Site.Title }}
|
||||
{{ end }}
|
||||
</title>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue