diff --git a/layouts/shortcodes/children.html b/layouts/shortcodes/children.html index bff5a32b77..a5e97640f2 100644 --- a/layouts/shortcodes/children.html +++ b/layouts/shortcodes/children.html @@ -45,28 +45,28 @@ {{$num := sub ( int (trim $.style "h") ) 1 }} {{$numn := add $num $.count }} - {{(printf "" $numn)|safeHTML}} - {{ .Title }} - {{(printf "" $numn)|safeHTML}} +{{(printf "" $numn)|safeHTML}} +{{ .Title }} +{{(printf "" $numn)|safeHTML}} {{else}} - {{(printf "<%s>" $.style)|safeHTML}} - {{ .Title }} - {{(printf "" $.style)|safeHTML}} +{{(printf "<%s>" $.style)|safeHTML}} +{{ .Title }} +{{(printf "" $.style)|safeHTML}} {{end}} {{if $.description}} {{if .Description}} -

{{.Description}}

+

{{.Description}}

{{else}} -

{{.Summary}}

+

{{.Summary}}

{{end}} {{end}} {{end}} {{ if lt $.count $.depth}} {{if eq $.style "li"}} - {{end}} {{end}} {{end}}