diff options
Diffstat (limited to 'layouts/partials/index')
-rw-r--r-- | layouts/partials/index/tabs.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/partials/index/tabs.html b/layouts/partials/index/tabs.html index e1fc986..015eb36 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> + {{ if .Site.Params.enableHistory }} + <div class="contain contain--more"> + <h2 class="center">{{ T "incidentHistory" }}</h2> + <hr class="clean"> + </div> + {{ end }} {{ end }}
\ No newline at end of file |