aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/incidents-yearly.html
blob: d07be9db94a1fafb15d21ce689dae95a81d19d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ $incidents := where .Site.RegularPages "Params.section" "issue" }}


{{ range ($incidents.GroupByDate "2006") }}
  <div class="padding"></div>
  <hr>
  <p class="center" id="archive-{{ .Key }}"><a href="#archive-{{ .Key }}" class="no-underline"><strong>{{ .Key }}</strong>
    <span class="faded">({{ len .Pages }})</span>
  </a></p><hr>
  
  {{ range .Pages }}
    {{ .Render "small" }}
  {{ end }}
{{ end }}