File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {{/* Hero compact pour les sous-pages — titre + description, sans fil d'ariane.
2- Image via < img > (technique partial) pour contourner canonifyURLs comme le hero d'accueil . */}}
3- {{ $bg := .Params.Bg_image | default "images/backgrounds/page-title.jpg " }}
1+ {{/* Hero compact pour les sous-pages ( titre + description, sans fil d'ariane) .
2+ Le master a son propre grand hero (layouts/master/list.html) — on le skip ici . */}}
3+ {{ if ne .Section "master " }}
44< section class ="page-title-section overlay position-relative ">
5- {{ partial "image.html" (dict "Src" $bg "Alt" .Title "Class" "hero-bg-img") }}
5+ {{/* Bannière unique pour tout le site (cf. homepage). On ignore .Params.Bg_image
6+ qui resterait sur d'anciennes images de placeholder dans certains _index.md. */}}
7+ {{ partial "image.html" (dict "Src" "images/banniere.jpg" "Alt" .Title "Class" "hero-bg-img") }}
68 < div class ="container position-relative " style ="z-index: 2; ">
79 < div class ="row ">
810 < div class ="col-md-9 col-lg-8 ">
@@ -12,3 +14,4 @@ <h1 class="text-white mb-3">{{ .Title }}</h1>
1214 </ div >
1315 </ div >
1416</ section >
17+ {{ end }}
You can’t perform that action at this time.
0 commit comments