fix: fix title formatting (#152)

This commit is contained in:
Robert Kaussow 2022-01-12 22:05:20 +01:00 committed by GitHub
parent d406d33ae3
commit 5c7f5db32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,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" . }}