fix: title template

This commit is contained in:
Matthieu Bessat 2023-04-10 22:16:19 +02:00
parent edc8f5e479
commit 0a615c041f

View file

@ -9,7 +9,8 @@
{{ end }} {{ end }}
{{- $title := partialCached "data/title" . .RelPermalink -}} {{- $title := partialCached "data/title" . .RelPermalink -}}
<title>{{ $title }}</title>
<title>{{ $title }} {{ if not .IsHome }}- L'Étoile de Bethléem{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">