aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-05-19 13:09:41 +0300
committerGitHub <noreply@github.com>2020-05-19 13:09:41 +0300
commitfc16aa965d2c979e78f1d58d064c0330fa3e3cb9 (patch)
tree6a03bd7fdb9ebd49effd5bd62688cfd6765121d6 /layouts/partials/index
parent409e777860f309c3bcff850b52654ac9e00692b9 (diff)
parent50d99f38b5fffdf22c5c229a9b2540928244282f (diff)
Add config option to disable incident history #108
Diffstat (limited to 'layouts/partials/index')
-rw-r--r--layouts/partials/index/tabs.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/partials/index/tabs.html b/layouts/partials/index/tabs.html
index e1fc986..9544890 100644
--- a/layouts/partials/index/tabs.html
+++ b/layouts/partials/index/tabs.html
@@ -13,8 +13,10 @@
</div>
</div>
{{ else }}
- <div class="contain contain--more">
- <h2 class="center">{{ T "incidentHistory" }}</h2>
- <hr class="clean">
- </div>
-{{ end }} \ No newline at end of file
+ {{ if not .Site.Params.disableIncidentHistory }}
+ <div class="contain contain--more">
+ <h2 class="center">{{ T "incidentHistory" }}</h2>
+ <hr class="clean">
+ </div>
+ {{ end }}
+{{ end }}