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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0371fcc..55910d6 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -23,7 +23,7 @@
<!-- Begin content -->
{{ if .Params.image }}
<div class="has-text-centered">
- <img src="{{ .Params.image }}" class="img-responsive">
+ <img src="{{ .Params.image | relURL }}" class="img-responsive">
</div>
{{ end }} {{ .Content }}
</div>
@@ -59,4 +59,4 @@
})
</script>
-</body> \ No newline at end of file
+</body>