Merge f66c915d5b499ba53d8253b99807fe4a4c654e46 into 0dcf7e7a4052d7fccdde0eac0a2e4c9cb47fe811

This commit is contained in:
David Legrand 2024-12-07 21:48:35 +01:00 committed by GitHub
commit 0db30f9e30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,10 @@
<title>
{{- if .IsHome -}}
{{ .Site.Title -}}
{{ else if eq .Kind "page" -}}
{{ with .Title }}{{ . }} {{ end -}}
{{ $sectionTitle := index .Site.Params.sectionsTitles .Section }}
{{ $sectionTitle | default .Site.Title }}
{{ else -}}
{{ with .Title }}{{ . }} {{ end -}}
{{ .Site.Title -}}