Merge f66c915d5b499ba53d8253b99807fe4a4c654e46 into f377609ebaa5d0761a31ffc0bbf9a4785d8453aa

This commit is contained in:
David Legrand 2024-12-16 15:54:40 +00:00 committed by GitHub
commit 26095cb9ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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