diff --git a/lib/v2/instagram/templates/images.art b/lib/v2/instagram/templates/images.art index 67c6654c3..3af7e6ea5 100644 --- a/lib/v2/instagram/templates/images.art +++ b/lib/v2/instagram/templates/images.art @@ -1,5 +1,11 @@ -{{@ summary.replace(/\n/g, '
') }} +{{ if summary }} + {{@ summary.replace(/\n/g, '
') }} +
+{{ /if }} {{ each images i }} - + {{ /each }} diff --git a/lib/v2/instagram/templates/video.art b/lib/v2/instagram/templates/video.art index 62d466ec4..f89b9b5c0 100644 --- a/lib/v2/instagram/templates/video.art +++ b/lib/v2/instagram/templates/video.art @@ -1,4 +1,7 @@ -{{@ summary.replace(/\n/g, '
') }} +{{ if summary }} + {{@ summary.replace(/\n/g, '
') }} +
+{{ /if }}