Skip to content

Commit

Permalink
Merge pull request #464 from kartnico/fix_path_thumbnail_images
Browse files Browse the repository at this point in the history
fix path to thumbnail images incorrect on second and higher page
  • Loading branch information
chipzoller authored Sep 23, 2024
2 parents a21df4d + 7148473 commit d80826a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
class="{{ $classes }} image_processed"
width="{{ .Width }}"
height="{{ .Height }}"
src="{{ .RelPermalink }}"
src="{{ .RelPermalink | absURL }}"
{{ else }}
class="{{ $classes }} image_unprocessed"
src="{{ $fileWeb }}"
src="{{ $fileWeb | absURL }}"
{{ end }}
{{ with $cap }}
title="{{ safeHTML $cap }}"
Expand Down

0 comments on commit d80826a

Please sign in to comment.