optimization pass
[kengrimes.com/theme.git] / layouts / _default / single.html
index 44a9d4a..24a73d4 100644 (file)
@@ -1,7 +1,7 @@
 {{- define "main" -}}
 {{- if (gt (len (findRE "<h1" .Content)) 0) }}
     <article>
-    {{ replaceRE "(<h1.*</h1>)" "</article>\n$1\n<article>" .Content | strings.TrimLeft "\n " | replaceRE "\n" "\n      " | safeHTML }}
+    {{ replaceRE "(<h1.*</h1>)" "</article>\n$1\n<article>" .Content | strings.TrimLeft "\n " | safeHTML }}
 {{- else -}}
     <article>
       {{ .Content | replaceRE "\n" "\n      " | safeHTML }}