diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 7272b21e6..35681dd3c 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,5 +1,5 @@ {{- define "title" -}} - {{- .Params.Title | default (T .Section) | default .Section | dict "Some" | T "allSome" -}} + {{- title (.Params.Title | default ((T .Section) | default .Section | dict "Some" | T "allSome")) -}} {{- if .Site.Params.withSiteTitle }} {{ .Site.Params.titleDelimiter }} {{ .Site.Title }}{{- end -}} {{- end -}} @@ -8,8 +8,12 @@