Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/products/single.html')
-rw-r--r--layouts/products/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/products/single.html b/layouts/products/single.html
index de9a0dc..fc5344d 100644
--- a/layouts/products/single.html
+++ b/layouts/products/single.html
@@ -16,7 +16,7 @@
</div>
<div class="col-12 col-md-6 order-md-1">
{{ range .Params.images }}
- <img class="b-lazy img-fluid text-center" data-src="{{ . }}" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" />
+ <img class="b-lazy img-fluid text-center" data-src="{{ . | absURL }}" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" />
{{ end }}
</div>
<div class="col-12 col-md-6 order-md-2 d-block d-md-none">