From e2dadcf6689d16b72d66ccab0903ef0cba95d48c Mon Sep 17 00:00:00 2001 From: Karen Bradshaw Date: Sat, 27 Jun 2020 20:59:31 -0400 Subject: [PATCH] adjust title, description order --- layouts/docs/list.html | 2 +- layouts/partials/docs/content-page.html | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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 }}