Skip to content
Snippets Groups Projects
list.html 620 B
Newer Older
alexisben's avatar
alexisben committed
{{ define "main" }}

  {{- $is_organigram_present := false -}}
  {{ range .Params.blocks }}
    {{- if eq .template "organization_chart" -}}
      {{- $is_organigram_present = true -}}
    {{ end }}
  {{ end }}

  {{ partial "persons/hero.html" . }}

alexisben's avatar
alexisben committed
  <div class="document-content">
    <div class="container">
alexisben's avatar
alexisben committed
      {{ partial "persons/chapo.html" (dict
          "context" .
        ) }}
alexisben's avatar
alexisben committed
      {{- if not $is_organigram_present -}}
        {{ partial "persons/taxonomies.html" . }}
        {{ partial "persons/list.html" . }}
      {{- end -}}
    </div>
  
    {{ partial "blocks/list.html" . }}
alexisben's avatar
alexisben committed
  </div>

{{ end }}