aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-06-18 19:32:50 +0300
committerGitHub <noreply@github.com>2019-06-18 19:32:50 +0300
commita69075ee2932e956d575c990f4fbf9c9baca7b9a (patch)
tree022c12b8c3288a8d1388cd038a6f1a49eaa67928
parent0cde429a45c379c4781e31e5e88b853899e452a8 (diff)
Add logic for yearly incident history
-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>