From e84e77f44b70c4acee57b1c589109440cbaa8aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 5 Sep 2023 13:08:16 +0200 Subject: [PATCH] breadcrumb: don't ignore spaces for separator #636 --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 530e71e9a8..5ee33e8739 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -199,7 +199,7 @@ {{- if not $title }} {{- $title = $to.Site.Title }} {{- end }} -
  • {{ if $remaining }}{{end}}{{ $title }}{{ if $remaining }}{{ end }}{{ if $remaining }} {{ default ">" .Site.Params.breadcrumbSeparator }} {{ end }}
  • +
  • {{ if $remaining }}{{end}}{{ $title }}{{ if $remaining }}{{ end }}{{ if $remaining }}{{ (printf " %s " (default ">" .Site.Params.breadcrumbSeparator)) | safeHTML }}{{ end }}
  • {{- end }} {{- end }} {{- end }} \ No newline at end of file