diff --git a/layouts/administrators/term.html b/layouts/administrators/term.html index 8c677945fc60235d5c509557e83dedbbd4dd4355..d73367138f3272bda1b732abfed2d90033fd5927 100644 --- a/layouts/administrators/term.html +++ b/layouts/administrators/term.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "context" . ) -}} <div class="document-content container"> diff --git a/layouts/authors/term.html b/layouts/authors/term.html index 5e4fdd894ae69121f000ae092dc4a8f437a847e7..38f33679e845b98d6f7c98ee1827bf6e0e08d509 100644 --- a/layouts/authors/term.html +++ b/layouts/authors/term.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "context" . ) -}} <div class="document-content container"> diff --git a/layouts/pages/sitemap.html b/layouts/pages/sitemap.html index 45fd62f30ec595762f015a4b0082ad116de57e45..4896c3a1a295ed5be2cb78988b40015047968138 100644 --- a/layouts/pages/sitemap.html +++ b/layouts/pages/sitemap.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "context" . ) -}} diff --git a/layouts/papers/list.html b/layouts/papers/list.html index 7337cbee8f8a6cb43a5260a514ff1ab84c22c02b..cf1842505e5f7807726303e5c1892677f06f44a8 100644 --- a/layouts/papers/list.html +++ b/layouts/papers/list.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.papers.hero "context" . diff --git a/layouts/papers/single.html b/layouts/papers/single.html index 0157d4c05e7e332532479a3d3ad8979137367f75..76597e6497b1b22947af421f72a823167ec772a9 100644 --- a/layouts/papers/single.html +++ b/layouts/papers/single.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.papers.hero_single "context" . diff --git a/layouts/partials/categories/hero-list.html b/layouts/partials/categories/hero-list.html index 4cb482eb1016eae37cd284843efa2518fbe0ffee..253e9058e523ad4bfd5a1caf28b98874eef0d29b 100644 --- a/layouts/partials/categories/hero-list.html +++ b/layouts/partials/categories/hero-list.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "sizes" site.Params.image_sizes.sections.categories.hero "context" . ) -}} diff --git a/layouts/partials/categories/hero-term.html b/layouts/partials/categories/hero-term.html index f3573430e6a73ed3f3a50e826644a774208096aa..f135bd6ce92976df5a86d2708b90eccadca2992b 100644 --- a/layouts/partials/categories/hero-term.html +++ b/layouts/partials/categories/hero-term.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.categories.hero_term "context" . diff --git a/layouts/partials/organizations/hero.html b/layouts/partials/organizations/hero.html index 5013a73d83be7f66e8f5928ebfdbe341f6e340e7..a0b2fc49e28359d4849129f5ce158b534fc8345d 100644 --- a/layouts/partials/organizations/hero.html +++ b/layouts/partials/organizations/hero.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.organizations.hero "context" . diff --git a/layouts/partials/posts/hero-list.html b/layouts/partials/posts/hero-list.html index fa8d44876816599205324c8c4e9c2813d3455d01..9fe474548593c20afcc143260a94fd29301c0cd2 100644 --- a/layouts/partials/posts/hero-list.html +++ b/layouts/partials/posts/hero-list.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.posts.hero "context" . diff --git a/layouts/partials/posts/hero-single.html b/layouts/partials/posts/hero-single.html index c872372aaecd8f79af38325966ff5c750001b4f1..840efbd40adf426e447a97e100c06ef2420d6354 100644 --- a/layouts/partials/posts/hero-single.html +++ b/layouts/partials/posts/hero-single.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.posts.hero_single "context" . diff --git a/layouts/partials/volumes/hero.html b/layouts/partials/volumes/hero.html index a7648499f62496bc2d3870e5e7650040c691efde..1837d116ffbc2c3d6e6ec68cb03ce7ab737fc632 100644 --- a/layouts/partials/volumes/hero.html +++ b/layouts/partials/volumes/hero.html @@ -1,6 +1,7 @@ +{{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "image" .Params.image "sizes" site.Params.image_sizes.sections.volumes.hero "context" . diff --git a/layouts/teachers/term.html b/layouts/teachers/term.html index 81bbe4706ce9cb6955f6a31b52f67a58ba9dd45e..210eb3e9fba8b31c02929b95684660795841d93f 100644 --- a/layouts/teachers/term.html +++ b/layouts/teachers/term.html @@ -1,7 +1,8 @@ {{ define "main" }} + {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict - "title" .Title + "title" $title "context" . ) -}} <div class="document-content container">