Skip to content

Commit 989f5da

Browse files
authored
Merge pull request #22046 from sftim/20200624_move_lead_text_after_heading
Move documentation page lead text after the heading
2 parents e92d7e3 + e2805d4 commit 989f5da

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)