Merge pull request #22046 from sftim/20200624_move_lead_text_after_heading

Move documentation page lead text after the heading
This commit is contained in:
Kubernetes Prow Robot
2020-06-25 10:50:38 -07:00
committed by GitHub
+1 -1
View File
@@ -1,6 +1,5 @@
{{ define "main" }}
<div class="td-content">
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ $hasContent := false }}
{{ with .File }}
{{ if ne .Filename "" }}
@@ -12,6 +11,7 @@
{{ else }}
<h1>{{ .Title }}</h1>
{{ end }}
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ partial "section-index.html" . }}
</div>
{{ end }}