diff --git a/layouts/persons/list.html b/layouts/persons/list.html index 78c59dc674eebc7ba92554da92262375a131398e..611a00ff650ea357d4f9a56358482bd815242b8a 100644 --- a/layouts/persons/list.html +++ b/layouts/persons/list.html @@ -17,16 +17,19 @@ ) }} + {{ $chapo_block := gt (len .Params.blocks) 1 }} {{ partial "persons/chapo.html" (dict - "context" . - "block_wrapped" true - ) }} + "context" . + "block_wrapped" $chapo_block + ) }} + <div class="container"> {{- if not $is_organigram_present -}} {{ partial "persons/taxonomies.html" . }} {{ partial "persons/list.html" . }} {{- end -}} </div> + {{ partial "blocks/list.html" . }} </div>