{{ .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 }} - 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" . }} -{{ . }}
+{{ . }}
{{ end }} {{ .Content }}+ {{ with .Title }} - diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 795392d1b1..12a57fe51a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -53,10 +53,10 @@ {{ $isCurrent := eq (urls.Parse $ctx.Permalink).Path .entry.path }}{{ . }}
+{{ . }}
{{ end }} {{ .Content }}- - {{ markdownify .entry.title }} - + {{ markdownify .entry.title }} + {{ end }} {{ end }} 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