aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 68a1265..486eeab 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -72,8 +72,12 @@
<div class="contain">
<h2 class="center">Incident history</h2>
- {{ range first 10 .Data.Pages }}
- {{ .Render "issue" }}
+ {{ if not .Data.Pages }}
+ <p class="center">Looks like we do not have any incidents logged.</p>
+ {{ else }}
+ {{ range first 10 .Data.Pages }}
+ {{ .Render "issue" }}
+ {{ end }}
{{ end }}
</div>