From 990edd18be607ce1656b3e67225557ccd0b27389 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 2 Dec 2022 21:49:30 +0530 Subject: removed description from non-list pages --- layouts/docs/list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'layouts/docs') 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 @@

{{ if .Params.heading }}{{ .Params.heading }}{{ else }}{{ .Title }}{{ end }}

-

{{ .Description }}

+ {{ if ne (len .Pages) 0 }} +

{{ .Description }}

+ {{ end }} {{ .Content }} -- cgit v1.2.3