+
+ + + {#if post.title} +

{post.title}

+ {/if} +
+ + {#if post.linkUrl} +
+ +
+ {/if} + + {#if post.album && post.album.photos && post.album.photos.length > 0} + +
+
+

{post.album.title}

+ {#if post.album.description} +

{post.album.description}

+ {/if} +
+ ({ + url: photo.url, + thumbnailUrl: photo.thumbnailUrl, + caption: photo.caption, + alt: photo.caption || post.album.title + }))} + alt={post.album.title} + aspectRatio="4/3" + /> +
+ {:else if post.attachments && Array.isArray(post.attachments) && post.attachments.length > 0} + +
+

Photos

+ ({ + url: attachment.url, + thumbnailUrl: attachment.thumbnailUrl, + caption: attachment.caption, + alt: attachment.caption || 'Photo' + }))} + alt="Post photos" + aspectRatio="4/3" + /> +
+ {/if} + + {#if renderedContent} +
+ {@html renderedContent} +
+ {/if} + +
+ +
+