diff options
-rw-r--r-- | layouts/index.html | 8 | ||||
-rw-r--r-- | layouts/partials/js.html | 2 |
2 files changed, 7 insertions, 3 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> diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 9ef2a23..1e62849 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -1,4 +1,4 @@ -<script type="javascript"> +<script type="text/javascript"> /** * Dev toolset */ |