diff --git a/layouts/partials/shortcodes/children.html b/layouts/partials/shortcodes/children.html index 38b60a9aeb..fe3187a986 100644 --- a/layouts/partials/shortcodes/children.html +++ b/layouts/partials/shortcodes/children.html @@ -36,11 +36,11 @@ {{- if hasPrefix $.style "h" }} {{- $num := sub ( int (trim $.style "h") ) 1 }} {{- $numn := add $num $.count }} -{{ (printf " " $numn)|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }}{{ (printf "" $numn)|safeHTML }} +{{ (printf ` ` $numn (.LinkTitle | plainify | anchorize))|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }}{{ (printf "" $numn)|safeHTML }} {{- else if eq $.style "li" }} -{{ (printf " <%s>" $.style)|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }} +{{ (printf ` <%s class="children-title">` $.style)|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }} {{- else }} -{{ (printf " <%s>" $.style)|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }}{{ (printf "" $.style)|safeHTML }} +{{ (printf ` <%s class="children-title">` $.style)|safeHTML }}{{ if .RelPermalink }}{{ .LinkTitle }}{{ else }}{{ .LinkTitle }}{{ end }}{{ (printf "" $.style)|safeHTML }} {{- end }} {{- if $.description }} {{- with or .Description .Summary -}} diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index ef90f9ecbc..bbd8c74425 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.3.2+059fc2f69465b7b249881646abee2dbbf9314547 \ No newline at end of file +7.3.2+a6379dcc8ca63ec8eafe10c1919fd69ce1397bf2 \ No newline at end of file