diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 222dfb6c..72c48335 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@
-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }} {{ .Content }}
@@ -14,4 +14,4 @@

{{ .Title }}

-{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 61c49aad..fb8c9906 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,7 +5,7 @@

-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }}
{{ .Content }} @@ -15,4 +15,4 @@


-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }}
{{ .Content }}
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/blog/list.html b/layouts/blog/list.html index c67ebe27..5f0cca7d 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -5,7 +5,7 @@

-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }}
{{ .Content }}
{{- $pages := partial "utils/sort-pages" (dict "page" . "by" site.Params.blog.list.sortBy "order" site.Params.blog.list.sortOrder) -}} {{- range $pages }} @@ -31,4 +31,4 @@

-{{- end -}} +{{- end -}} \ No newline at end of file diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 2a637a41..75fa392b 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -5,7 +5,7 @@
{{ partial "breadcrumb.html" . }} -

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }}
{{- with $date := .Date }}{{ partial "utils/format-date" $date }}{{ end -}} {{- $lazyLoading := site.Params.enableImageLazyLoading | default true -}} @@ -45,4 +45,4 @@

{{ partial "breadcrumb.html" . }}
-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }} {{ .Content }}
{{ partial "components/last-updated.html" . }} @@ -15,4 +15,4 @@

{{ .Title }}

-{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/docs/single.html b/layouts/docs/single.html index a91882ae..8ed116ca 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -6,7 +6,7 @@
{{ partial "breadcrumb.html" . }}
-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }} {{ .Content }}
{{ partial "components/last-updated.html" . }} @@ -15,4 +15,4 @@

{{ .Title }}

-{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 58e3bc96..2b992364 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,11 +4,11 @@ {{ partial "toc.html" . }}
-

{{ .Title }}

+ {{ if .Title }}

{{ .Title }}

{{ end }}
{{ .Content }}
-{{ end }} +{{ end }} \ No newline at end of file