diff options
Diffstat (limited to 'layouts/shortcodes/insertFigure.html')
-rw-r--r-- | layouts/shortcodes/insertFigure.html | 4 |
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 }} |