adjust title, description order
This commit is contained in:
parent
cd4a6c3333
commit
e2dadcf668
|
@ -10,8 +10,8 @@
|
|||
{{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }}
|
||||
{{ else }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ end }}
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "section-index.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -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 }}
|
Loading…
Reference in New Issue