diff --git a/layouts/docs/list.html b/layouts/docs/list.html index 02e55ddd74..81403b5396 100644 --- a/layouts/docs/list.html +++ b/layouts/docs/list.html @@ -10,8 +10,8 @@ {{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }} {{ else }}

{{ .Title }}

+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} {{ end }} - {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} {{ partial "section-index.html" . }} {{ end }} diff --git a/layouts/partials/docs/content-page.html b/layouts/partials/docs/content-page.html index 35e9cb8f07..3aaf803f06 100644 --- a/layouts/partials/docs/content-page.html +++ b/layouts/partials/docs/content-page.html @@ -7,6 +7,7 @@

{{ if not .page.Params.notitle }}

{{ .page.Title }}

+ {{ $desc := .page.Description }} + {{ with .page.Params.description }}
{{ $desc | markdownify }}
{{ end }} {{ end }} - -{{ .page.Content }} \ No newline at end of file +{{ .page.Content }}