diff --git a/layouts/partials/markdown.gmi b/layouts/partials/markdown.gmi index 342c8b45..0973a5ba 100644 --- a/layouts/partials/markdown.gmi +++ b/layouts/partials/markdown.gmi @@ -1,4 +1,4 @@ -{{ $sections := split (replaceRE `^\s*` "\n" .) "\n#" -}} +{{ $sections := split (replaceRE ` ` " " .) "\n#" -}} {{- $first := true -}} {{- range $sections -}} {{- $content := . -}}