Unverified Commit 0cde429a authored by Mantas's avatar Mantas Committed by GitHub
Browse files

Yearly seperation of incidents

parent dd1f1452
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{{ $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 }}