diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-06-18 19:32:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-18 19:32:50 +0300 |
commit | a69075ee2932e956d575c990f4fbf9c9baca7b9a (patch) | |
tree | 022c12b8c3288a8d1388cd038a6f1a49eaa67928 /layouts/index.html | |
parent | 0cde429a45c379c4781e31e5e88b853899e452a8 (diff) |
Add logic for yearly incident history
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 6 |
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> |