diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 11d460d7..28780b50 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -11,6 +11,9 @@

{{ .Title }}

{{- partial "hb/modules/docs/doc/meta" . }}
+ {{- with .Description }} +

{{ . }}

+ {{- end }}
{{ partial "hb/modules/docs/toc" . }} diff --git a/layouts/partials/hb/modules/docs/section.html b/layouts/partials/hb/modules/docs/section.html index a5496f21..96a30e2c 100644 --- a/layouts/partials/hb/modules/docs/section.html +++ b/layouts/partials/hb/modules/docs/section.html @@ -1,4 +1,7 @@

{{ .Title }}

+{{- with .Description }} +

{{ . }}

+{{- end }} {{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-doc-content-begin") }}
{{ .Content }}