From e2805d47b556e7bae61045d520a991f9e2cd8fac Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Wed, 24 Jun 2020 22:01:14 +0100 Subject: [PATCH] Move documentation page lead text after the heading This helps because the lead text follows the page heading on the section index that links to a page. Consistency helps readability. --- layouts/docs/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/docs/list.html b/layouts/docs/list.html index ef24f907e1..02e55ddd74 100644 --- a/layouts/docs/list.html +++ b/layouts/docs/list.html @@ -1,6 +1,5 @@ {{ define "main" }}
- {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} {{ $hasContent := false }} {{ with .File }} {{ if ne .Filename "" }} @@ -12,6 +11,7 @@ {{ else }}

{{ .Title }}

{{ end }} + {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} {{ partial "section-index.html" . }}
{{ end }}