diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/index/incidents-yearly.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/index/incidents-yearly.html b/layouts/partials/index/incidents-yearly.html new file mode 100644 index 0000000..36f6e44 --- /dev/null +++ b/layouts/partials/index/incidents-yearly.html @@ -0,0 +1,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 }} |