diff options
author | mms <michal@sapka.me> | 2024-03-09 20:56:11 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-03-09 20:59:15 +0100 |
commit | 6fbc82b77e5de58d60d13ce6e5f0aef433caf9a4 (patch) | |
tree | 6247698f41450afa4a2deca80d274af566ac8a37 /layouts/shortcodes/imgproc.html | |
parent | 26103a8b78ec7f8e882bbf435571e640b6da26db (diff) |
feat: remove relative images from shortcode images
Diffstat (limited to 'layouts/shortcodes/imgproc.html')
-rw-r--r-- | layouts/shortcodes/imgproc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index c0559fe..115da4d 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -15,7 +15,7 @@ {{ errorf "Invalid image processing command: Must be one of Crop, Fit, Fill or Resize."}} {{ end }} <figure> - <img class="centered" alt="{{ $caption }}" src="{{ $img.RelPermalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> + <img class="centered" alt="{{ $caption }}" src="{{ $img.Permalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> <figcaption> {{ $caption }} |