diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3e9183bfd79e27a28802147e1877a418b5abbac6..a89c1e0b33159f7b18c0d806ea7c22ae15c04d62 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,6 @@ {{ define "main" }} {{ partial "pages/hero.html" . }} + {{ partial "hooks/after-page-hero.html" . }} <div class="document-content"> {{- $category := site.GetPage (printf "/categories%s" .Params.category) -}} @@ -11,8 +12,6 @@ ) }} - {{ partial "hooks/after-page-hero.html" . }} - {{ partial "pages/chapo.html" (dict "context" . "block_wrapped" true diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3e9183bfd79e27a28802147e1877a418b5abbac6..a89c1e0b33159f7b18c0d806ea7c22ae15c04d62 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,6 @@ {{ define "main" }} {{ partial "pages/hero.html" . }} + {{ partial "hooks/after-page-hero.html" . }} <div class="document-content"> {{- $category := site.GetPage (printf "/categories%s" .Params.category) -}} @@ -11,8 +12,6 @@ ) }} - {{ partial "hooks/after-page-hero.html" . }} - {{ partial "pages/chapo.html" (dict "context" . "block_wrapped" true diff --git a/layouts/pages/list.html b/layouts/pages/list.html index 3e9183bfd79e27a28802147e1877a418b5abbac6..a89c1e0b33159f7b18c0d806ea7c22ae15c04d62 100644 --- a/layouts/pages/list.html +++ b/layouts/pages/list.html @@ -1,5 +1,6 @@ {{ define "main" }} {{ partial "pages/hero.html" . }} + {{ partial "hooks/after-page-hero.html" . }} <div class="document-content"> {{- $category := site.GetPage (printf "/categories%s" .Params.category) -}} @@ -11,8 +12,6 @@ ) }} - {{ partial "hooks/after-page-hero.html" . }} - {{ partial "pages/chapo.html" (dict "context" . "block_wrapped" true