fix: fix title formatting (#282)

uci-hugo-doc
Robert Kaussow 2022-01-12 21:47:14 +01:00 committed by GitHub
parent 735b9c37ad
commit 63ced198cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
<head>
{{ partial "head/meta" . }}
<title>
{{ if not (eq .Kind "home") }}{{ partial "title" . }} |{{ end }}{{ .Site.Title }}
{{ if not (eq .Kind "home") }}
{{ partial "title" . }}{{ printf " | " }}
{{ end }}{{ .Site.Title }}
</title>
{{ partial "head/favicons" . }}