Simplify website title

This commit is contained in:
Daniil Krymov 2022-02-12 21:42:57 +01:00
parent 449f494a38
commit 653a6a4d8c
No known key found for this signature in database
GPG Key ID: 49FF57C32BD36752

View File

@ -8,7 +8,7 @@
{{- end }}
{{- /* Title */}}
<title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ .Site.Title }}</title>
<title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ (.Site.Params.label.text | default .Site.Title) }}</title>
{{- /* Meta */}}
{{- if .IsHome }}