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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/insertFigure.html')
-rw-r--r--layouts/shortcodes/insertFigure.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/insertFigure.html b/layouts/shortcodes/insertFigure.html
index e220646..b9cd015 100644
--- a/layouts/shortcodes/insertFigure.html
+++ b/layouts/shortcodes/insertFigure.html
@@ -25,8 +25,8 @@
{{ end }}
<figure align="{{$align}}" role="group" aria-describedby="caption-{{ $caption | md5 }}">
- <a href="{{ $original.Permalink }}" class="img-link">
- <img src="{{ $new.Permalink }}">
+ <a href="{{ $original.RelPermalink }}" class="img-link">
+ <img src="{{ $new.RelPermalink }}">
</a>
<figcaption id="caption-{{ $caption | md5 }}">
{{ $caption | markdownify }}