{{ $sectionID := replace (lower .section.name) " " "-"  }}
{{ if .section.id }}
  {{ $sectionID = .section.id }}
{{ end }}

<div class="container-fluid anchor pb-5 achievements-section">
  {{ if not (.section.hideTitle) }}
    <h1 class="text-center">
        <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
  {{ else }}
    <h1 class="text-center" style="display: none">
        <span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
  {{ end }}
  <div class="container">
    <div class="row" id="gallery">
    </div>
  </div>
  <!-- achievements-holder holds achievement-entry -->
  <div class="d-none" id="achievements-holder">
    {{ range .achievements }}
      {{ partial "sections/achievements/entry.html" . }}
    {{ end }}
  </div>
</div>
