diff --git a/themes/piratecare/layouts/_default/_markup/render-image.html b/themes/piratecare/layouts/_default/_markup/render-image.html
index 3d6fd53..a1fee09 100644
--- a/themes/piratecare/layouts/_default/_markup/render-image.html
+++ b/themes/piratecare/layouts/_default/_markup/render-image.html
@@ -13,28 +13,28 @@
{{ $text_link }}⦚bib:{{ $destination }} not found
{{ end }}
{{ else if strings.HasPrefix .Destination "session:" }}
- {{ $destination := (substr .Destination 9) }}
- {{ if $.Page.Site.GetPage $destination }}
- {{ $session := $.Page.Site.GetPage $destination }}
+ {{ $s_destination := (substr .Destination 9) }}
+ {{ if $.Page.Site.GetPage $s_destination }}
+ {{ $session := $.Page.Site.GetPage $s_destination }}
{{ if not $text_link }}
- {{ $session.Title }}
+ {{ $session.Title }}
{{ else }}
- {{ $text_link }}
+ {{ $text_link }}
{{ end }}
{{ else }}
- {{ $text_link }}⦚session:{{ $destination }} not found
+ {{ $text_link }}⦚session:{{ $s_destination }} not found
{{ end }}
{{ else if strings.HasPrefix .Destination "topic:" }}
- {{ $destination := (substr .Destination 6) }}
- {{ if $.Page.Site.GetPage $destination }}
- {{ $topic := $.Page.Site.GetPage $destination }}
+ {{ $t_destination := (substr .Destination 6) }}
+ {{ if $.Page.Site.GetPage $t_destination }}
+ {{ $topic := $.Page.Site.GetPage $t_destination }}
{{ if not $text_link }}
- {{ $topic.Title }}
+ {{ $topic.Title }}
{{ else }}
- {{ $text_link }}
+ {{ $text_link }}
{{ end }}
{{ else }}
- {{ $text_link }}⦚topic:{{ $destination }} not found
+ {{ $text_link }}⦚topic:{{ $t_destination }} not found
{{ end }}
{{ else if findRE "^.*static" .Destination }}