mirror of
https://github.com/imfing/hextra.git
synced 2025-07-06 17:17:17 -04:00
Compare commits
1 Commits
eb1ea564a7
...
v0.8.6
Author | SHA1 | Date | |
---|---|---|---|
7b7eb0f1f3 |
@ -7,6 +7,7 @@
|
||||
|
||||
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
|
||||
{{- $pages = where $pages "Params.excludeSearch" "!=" true -}}
|
||||
{{- $pages = where $pages "Content" "!=" "" -}}
|
||||
|
||||
{{- $output := dict -}}
|
||||
|
||||
|
@ -10,10 +10,6 @@
|
||||
<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 -}}
|
||||
|
Reference in New Issue
Block a user