mirror of
https://github.com/imfing/hextra.git
synced 2025-05-14 11:16:25 -04:00
Merge f66c915d5b499ba53d8253b99807fe4a4c654e46 into 80fae9f86d3ea76d729542dfbccf4ce1f3f0f47a
This commit is contained in:
commit
eb1ea564a7
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user