Skip to content
Snippets Groups Projects
Unverified Commit b1fc44e2 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Correction du `hero` des taxonomies Osuny (#937)

parent cb53a160
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"context" . "context" .
) }} ) }}
{{ partial "categories/single/summary.html" (dict {{ partial "categories/section/summary.html" (dict
"context" . "context" .
"block_wrapped" true "block_wrapped" true
) }} ) }}
......
{{ $title := i18n (printf "categories.type.%s" .Type) }} {{ $title := i18n (printf "categories.type.%s" .Type) }}
{{/* Check if page is osuny taxonomy */}}
{{ if .Params.is_taxonomy }}
{{ with or .Params.header_text .Title }}
{{- $title = . -}}
{{ end }}
{{ end }}
{{- partial "header/hero.html" {{- partial "header/hero.html"
(dict (dict
"title" $title "title" $title
"image" .Params.image
"sizes" site.Params.image_sizes.sections.categories.hero
"context" . "context" .
) -}} ) -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment