aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/index/incidents-yearly.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/index/incidents-yearly.html b/layouts/partials/index/incidents-yearly.html
index 36f6e44..5cc323a 100644
--- a/layouts/partials/index/incidents-yearly.html
+++ b/layouts/partials/index/incidents-yearly.html
@@ -1,7 +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>
+ <p class="center" id="{{ .Key }}"><a href="#{{ .Key }}" class="no-underline"><strong>{{ .Key }}</strong>
+ <span class="faded">({{ len .Pages }})</span>
+ </a></p>
{{ range .Pages }}
{{ .Render "small" }}