Merge pull request #22113 from kbhawkey/fix-desc-index-concept

adjust title, description order
This commit is contained in:
Kubernetes Prow Robot
2020-06-28 04:52:13 -07:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -10,8 +10,8 @@
{{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }}
{{ else }}
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ end }}
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ partial "section-index.html" . }}
</div>
{{ end }}
+3 -2
View File
@@ -7,6 +7,7 @@
</p>
{{ if not .page.Params.notitle }}
<h1>{{ .page.Title }}</h1>
{{ $desc := .page.Description }}
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
{{ end }}
{{ .page.Content }}
{{ .page.Content }}