Merge pull request #22113 from kbhawkey/fix-desc-index-concept
adjust title, description order
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
{{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }}
|
{{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
|
||||||
{{ partial "section-index.html" . }}
|
{{ partial "section-index.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{{ if not .page.Params.notitle }}
|
{{ if not .page.Params.notitle }}
|
||||||
<h1>{{ .page.Title }}</h1>
|
<h1>{{ .page.Title }}</h1>
|
||||||
|
{{ $desc := .page.Description }}
|
||||||
|
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ .page.Content }}
|
||||||
{{ .page.Content }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user