fix: fix title formatting (#282)

This commit is contained in:
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

View file

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