diff --git a/src/app.html b/src/app.html
index 61643be6..487b7061 100644
--- a/src/app.html
+++ b/src/app.html
@@ -5,11 +5,6 @@
-
-
- {post.post_view.post.name}
-
+ {post_view.post.name}
+
- {#if isImage(post.post_view.post.url)}
-
+ {#if post_view.post.thumbnail_url}
+
{/if}
- {#if post.post_view.post.body}
-
+ {#if post_view.post.body}
+
+
{/if}
@@ -152,19 +151,19 @@
Crossposts
- {post.cross_posts.length}
+ {data.post.cross_posts.length}
- {#each post.cross_posts as crosspost}
+ {#each data.post.cross_posts as crosspost}
-
+
@@ -296,13 +295,13 @@
{#if $profile?.user}
{#if showCreateComment}
(comments.comments = [
comment.detail.comment_view,
...comments.comments,
])}
- locked={post.post_view.post.locked ||
+ locked={post_view.post.locked ||
$page.params.instance.toLowerCase() != $instance.toLowerCase()}
/>
{:else}
@@ -322,10 +321,10 @@
{:then comments}
-
+
{#if comments.length > 5}
- You've viewed {post.post_view.counts.comments} comments.
+ You've viewed {post_view.counts.comments} comments.