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