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