diff --git a/themes/piratecare/layouts/session/list.html b/themes/piratecare/layouts/session/list.html index bcee13d..b1b0065 100644 --- a/themes/piratecare/layouts/session/list.html +++ b/themes/piratecare/layouts/session/list.html @@ -3,7 +3,7 @@ {{ range .Data.Pages }} {{ $relpermalink := "" }} {{ with .Site.Data.myvars.edit }} - {{ $relpermalink = printf "%s%s" $relpermalink "_preview" }} +{{ $relpermalink = printf "%s%s" "_preview" $relpermalink }} {{ end }} {{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }}
diff --git a/themes/piratecare/layouts/topic/list.html b/themes/piratecare/layouts/topic/list.html index 8142731..4bc5399 100644 --- a/themes/piratecare/layouts/topic/list.html +++ b/themes/piratecare/layouts/topic/list.html @@ -3,7 +3,7 @@ {{ range .Data.Pages }} {{ $relpermalink := "" }} {{ with .Site.Data.myvars.edit }} - {{ $relpermalink = printf "%s%s" $relpermalink "_preview" }} + {{ $relpermalink = printf "%s%s" "_preview" $relpermalink }} {{ end }} {{ $relpermalink = printf "%s%s" $relpermalink .RelPermalink }}