From 5c65614fd2e8e2b66f5ae76b40420794dc2ff3b7 Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Sun, 2 Apr 2017 15:13:42 +0200 Subject: [PATCH] If there is more style to image add it when progressive --- layouts/partials/content.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 10000f9..6c7c9b6 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -1,6 +1,6 @@ {{ if .Site.Params.progressively }} - {{ $newImage := (print "
$3
") }} - {{ .Content | replaceRE "(.*)" $newImage | safeHTML }} + {{ $newImage := (print "
$3
") }} + {{ .Content | replaceRE "(.*)" $newImage | safeHTML }} {{ else }} {{ .Content }} {{ end }} \ No newline at end of file