From a4f3b9a98d4bf2187678f383ea30f3408751e7ad Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Thu, 5 Oct 2023 16:47:49 -0700 Subject: [PATCH] feat: use embeds in post pages --- src/lib/components/lemmy/post/PostLink.svelte | 4 ++-- .../post/[instance]/[id=integer]/+page.svelte | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/lib/components/lemmy/post/PostLink.svelte b/src/lib/components/lemmy/post/PostLink.svelte index 51a35155..dc7c12e6 100644 --- a/src/lib/components/lemmy/post/PostLink.svelte +++ b/src/lib/components/lemmy/post/PostLink.svelte @@ -40,10 +40,10 @@ {/if} {#if thumbnail_url} - + - {:else if post.post_view.post.url && !post.post_view.post.thumbnail_url} - - {post.post_view.post.url} - - {:else if post.post_view.post.thumbnail_url && post.post_view.post.url} + {:else if post.post_view.post.url} {/if} {#if post.post_view.post.body}