diff --git a/themes/piratecare/layouts/_default/_markup/render-image.html b/themes/piratecare/layouts/_default/_markup/render-image.html
index 2b2ae1f..478fd39 100644
--- a/themes/piratecare/layouts/_default/_markup/render-image.html
+++ b/themes/piratecare/layouts/_default/_markup/render-image.html
@@ -4,7 +4,7 @@
{{ if index $.Page.Site.Data.books.piratecarecollection $destination }}
{{ $b := index $.Page.Site.Data.books.piratecarecollection $destination }}
{{ if not $text_link }}
- {{ delimit $b.authors ", " " & " }}, {{ substr $b.pubdate 0 4}}.‘{{ $b.title }}’. {{ $b.publisher }}.
+ {{ delimit $b.authors ", " " & " }}{{ with $b.pubdate }}, {{ substr . 0 4}}{{ end }}.‘{{ $b.title }}’. {{ with $b.publisher }}{{ . }}.{{ end }}
{{ else }}
{{ $text_link }}
{{ end }}