aboutsummaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/list.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
index f8d665a..998d504 100644
--- a/layouts/docs/list.html
+++ b/layouts/docs/list.html
@@ -3,7 +3,9 @@
<h1 class="title" style="{{ if eq (len .Pages) 0 }}text-align: center;{{ end }}">
{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}
</h1>
- <p>{{ .Description }}</p>
+ {{ if ne (len .Pages) 0 }}
+ <p>{{ .Description }}</p>
+ {{ end }}
{{ .Content }}