aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/incidents-yearly.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/index/incidents-yearly.html')
-rw-r--r--layouts/partials/index/incidents-yearly.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/layouts/partials/index/incidents-yearly.html b/layouts/partials/index/incidents-yearly.html
index 5cc323a..d07be9d 100644
--- a/layouts/partials/index/incidents-yearly.html
+++ b/layouts/partials/index/incidents-yearly.html
@@ -1,9 +1,12 @@
{{ $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>
+
+{{ 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>
+ </a></p><hr>
{{ range .Pages }}
{{ .Render "small" }}