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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/limage.html')
-rw-r--r--layouts/_default/limage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/limage.html b/layouts/_default/limage.html
index 52c82b0..6208469 100644
--- a/layouts/_default/limage.html
+++ b/layouts/_default/limage.html
@@ -5,7 +5,7 @@
{{ if $image_file }}
{{ $image := .Resources.GetMatch $image_file }}
{{ with $image }}
- <img src="{{ .RelPermalink | relURL }}" class="img-responsive" alt="{{ .Name }}">
+ <img src="{{ .Permalink }}" class="img-responsive" alt="{{ .Name }}">
{{ end }}
{{ end }}