diff options
-rw-r--r-- | layouts/docs/list.html | 4 |
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 }} |