aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2019-10-04 18:59:16 +0300
committerMantas Vilčinskas <hi@mnts.lt>2019-10-04 18:59:16 +0300
commita07a3ccb6d76f3bacc85eddf0c132aa29a1a610c (patch)
tree0ea974628610eeb779a2db625d6e3f772cf2f021 /layouts/partials/index
parent15f03af4e678c0ab4a71af3d34ce3040102992ce (diff)
Added symbols for severity, informational posts, yearly layout default
Diffstat (limited to 'layouts/partials/index')
-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" }}