feat: add embeds
This commit is contained in:
1 parent
ec72b62c0b
commit
869afbd0cb
8 files changed
+110
-48
No files matched your search
@@ -137,12 +137,10 @@
|
||||
{:else if post.post.url}
|
||||
<PostLink
|
||||
url={post.post.url}
|
||||
thumbnail_url={view == 'card'
|
||||
? post.post.thumbnail_url
|
||||
? `${post.post.thumbnail_url}?format=webp&thumbnail=512`
|
||||
: undefined
|
||||
: undefined}
|
||||
thumbnail_url={post.post.thumbnail_url}
|
||||
nsfw={post.post.nsfw}
|
||||
embed_description={post.post.embed_description}
|
||||
embed_title={post.post.embed_title}
|
||||
/>
|
||||
{/if}
|
||||
{#if post.post.body && !post.post.nsfw && view != 'compact'}
|
||||
|
||||
Reference in new issue
Block a user