diff options
author | Mantas Vilčinskas <11616378+mistermantas@users.noreply.github.com> | 2020-05-19 13:09:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 13:09:41 +0300 |
commit | fc16aa965d2c979e78f1d58d064c0330fa3e3cb9 (patch) | |
tree | 6a03bd7fdb9ebd49effd5bd62688cfd6765121d6 /layouts/partials/index | |
parent | 409e777860f309c3bcff850b52654ac9e00692b9 (diff) | |
parent | 50d99f38b5fffdf22c5c229a9b2540928244282f (diff) |
Add config option to disable incident history #108
Diffstat (limited to 'layouts/partials/index')
-rw-r--r-- | layouts/partials/index/tabs.html | 12 |
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 }} |