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

{{ range ((where .Site.RegularPages "Params.section" "issue").GroupByDate "2006") }}
  <p class="center" id="{{ .Key }}"><a href="#{{ .Key }}" class="no-underline"><strong>{{ .Key }}</strong></a></p>
  
  {{ range .Pages }}
    {{ .Render "small" }}
  {{ end }}
{{ end }}