aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index be887c8..da6f6ad 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -38,7 +38,11 @@
<!-- All incidents + pagination -->
<div class="contain contain--more" id="incidents">
- {{ partial "index/incidents" . }}
+ {{ if .Site.Params.enableYearlyIncidentHistory }}
+ {{ partial "index/incidents-yearly" . }}
+ {{ else }}
+ {{ partial "index/incidents" . }}
+ {{ end }}
<div class="padding"></div>
</div>