Skip to content

Commit e2805d4

Browse files
author
Tim Bannister
committed
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.
1 parent bf05a7c commit e2805d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/docs/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{{ define "main" }}
22
<div class="td-content">
3-
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
43
{{ $hasContent := false }}
54
{{ with .File }}
65
{{ if ne .Filename "" }}
@@ -12,6 +11,7 @@
1211
{{ else }}
1312
<h1>{{ .Title }}</h1>
1413
{{ end }}
14+
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
1515
{{ partial "section-index.html" . }}
1616
</div>
1717
{{ end }}

0 commit comments

Comments
 (0)