diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index dda9065..bd4d8a1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,7 +4,11 @@
{{ partial "page-heading.html" . }}
- {{ .Content }}
+ {{ if .Site.Params.progressively }}
+ {{ .Content | replaceRE "
\\/(.*))
" "

" | safeHTML }}
+ {{ else }}
+ {{ .Content }}
+ {{ end }}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index cc92388..72fe358 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -13,7 +13,11 @@
- {{ .Content | replaceRE "
\\/(.*))
" "

" | safeHTML }}
+ {{ if .Site.Params.progressively }}
+ {{ .Content | replaceRE "
\\/(.*))
" "

" | safeHTML }}
+ {{ else }}
+ {{ .Content }}
+ {{ end }}
Back to posts
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html
index 9ba77f4..940c311 100644
--- a/layouts/partials/footer_scripts.html
+++ b/layouts/partials/footer_scripts.html
@@ -9,7 +9,9 @@
{{ end }}
-
-
+
\ No newline at end of file
+
+{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html
index c5faf9e..cbd4ac7 100644
--- a/layouts/partials/head_includes.html
+++ b/layouts/partials/head_includes.html
@@ -7,7 +7,9 @@