Skip to content
Snippets Groups Projects
Commit 35947a3d authored by alexisben's avatar alexisben
Browse files

fix persons__section

parent 2cece6d8
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,8 @@ ol.persons--list
.persons__section
* + .persons
margin-top: $spacing-section-y
.persons:last-child
padding-bottom: $spacing3
.persons__page
.hero
......
......@@ -16,7 +16,7 @@ params:
truncate_description: 200 # Set to 0 to disable truncate
persons:
index:
layout: grid # grid | list
layout: list # grid | list
home:
toc:
disabled: true
......
{{ define "main" }}
{{- $is_partners_block_present := false -}}
{{ range .Params.blocks }}
{{- if eq .template "partners" -}}
{{- $is_partners_block_present = true -}}
{{ end }}
{{ end }}
{{ partial "organizations/hero.html" . }}
<div class="document-content">
{{ partial "blocks/list.html" . }}
<div class="container">
{{ partial "pages/summary.html" (dict
"context" .
) }}
{{ partial "organizations/organizations.html" . }}
{{ partial "commons/pagination.html" . }}
{{- if not $is_partners_block_present -}}
{{ partial "organizations/organizations.html" . }}
{{ partial "commons/pagination.html" . }}
{{ end }}
</div>
{{ partial "blocks/list.html" . }}
</div>
{{ end }}
......@@ -30,6 +30,8 @@
"block_wrapped" $summary_block
) }}
{{ partial "blocks/list.html" . }}
<div class="container">
{{- if not $is_organigram_present -}}
{{ partial "persons/taxonomies.html" . }}
......@@ -40,7 +42,6 @@
{{- end -}}
</div>
{{ partial "blocks/list.html" . }}
</div>
{{ end }}
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