diff --git a/themes/piratecare/layouts/_default/_markup/render-image.html b/themes/piratecare/layouts/_default/_markup/render-image.html index a1fee09..29bf05e 100644 --- a/themes/piratecare/layouts/_default/_markup/render-image.html +++ b/themes/piratecare/layouts/_default/_markup/render-image.html @@ -13,7 +13,7 @@ {{ $text_link }}⦚bib:{{ $destination }} not found {{ end }} {{ else if strings.HasPrefix .Destination "session:" }} - {{ $s_destination := (substr .Destination 9) }} + {{ $s_destination := (substr .Destination 8) }} {{ if $.Page.Site.GetPage $s_destination }} {{ $session := $.Page.Site.GetPage $s_destination }} {{ if not $text_link }}