diff --git a/layouts/_default/cli.html b/layouts/_default/cli.html index 339d431719..ade1e78566 100644 --- a/layouts/_default/cli.html +++ b/layouts/_default/cli.html @@ -12,8 +12,10 @@ {{ .Scratch.Set "headings" slice }} {{ .Scratch.Set "subheadings" slice }} {{ partial "breadcrumbs.html" . }} -
-

{{ .Title }}

+
+ {{ with .Title }} +

{{ . }}

+ {{ end }} {{ $data.short | .RenderString (dict "display" "block") }} {{ if $data.deprecated }}
diff --git a/layouts/_default/glossary.html b/layouts/_default/glossary.html index f234aeb014..5d2bfb714c 100644 --- a/layouts/_default/glossary.html +++ b/layouts/_default/glossary.html @@ -4,8 +4,10 @@ {{ define "main" }} {{ partial "breadcrumbs.html" . }} -
-

{{ .Title }}

+
+ {{ with .Title }} +

{{ . }}

+ {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9a121cf298..334ad4e41c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,9 +4,9 @@ {{ define "main" }} {{ partial "breadcrumbs.html" . }} -
+
{{ with .Title }} -

{{ . }}

+

{{ . }}

{{ end }} {{ .Content }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9a121cf298..334ad4e41c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,9 +4,9 @@ {{ define "main" }} {{ partial "breadcrumbs.html" . }} -
+
{{ with .Title }} -

{{ . }}

+

{{ . }}

{{ end }} {{ .Content }}
diff --git a/layouts/samples/single.html b/layouts/samples/single.html index 437e7c7c59..839f7f33df 100644 --- a/layouts/samples/single.html +++ b/layouts/samples/single.html @@ -4,8 +4,10 @@ {{ define "main" }} {{ partial "breadcrumbs.html" . }} -
-

{{ .Title }}

+
+ {{ with .Title }} +

{{ . }}

+ {{ end }}

Note