aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/templates/thread.html
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-02-20 02:02:59 -0800
committerbryan newbold <bnewbold@robocracy.org>2023-02-20 02:02:59 -0800
commitb1b437ce1f83ebfb8808964846c964cac5e907c2 (patch)
tree30fe900a75eb9e0b6a8ec4346dd1c66ed3581798 /adenosine-pds/templates/thread.html
parentb1af748739fadce312aafc1e5f09ced891c326b2 (diff)
downloadadenosine-b1b437ce1f83ebfb8808964846c964cac5e907c2.tar.gz
adenosine-b1b437ce1f83ebfb8808964846c964cac5e907c2.zip
app_bsky: expand post (and post view) types
Diffstat (limited to 'adenosine-pds/templates/thread.html')
-rw-r--r--adenosine-pds/templates/thread.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/adenosine-pds/templates/thread.html b/adenosine-pds/templates/thread.html
index 608c971..c0a8684 100644
--- a/adenosine-pds/templates/thread.html
+++ b/adenosine-pds/templates/thread.html
@@ -4,16 +4,16 @@
{% block main %}
{% if post.parent.is_some() %}
- {% call macro::feed_item(post.parent.as_ref().unwrap()) %}
+ {% call macro::feed_item(post.parent.as_ref().unwrap().post) %}
<center><i>---</i></center>
{% endif %}
-{% call macro::feed_item(post) %}
+{% call macro::feed_item(post.post) %}
{% if post.replies.is_some() && post.replies.as_ref().unwrap().len() > 0 %}
<center><i>--- replies ---</i></center>
{% for item in post.replies.as_ref().unwrap() %}
- {% call macro::feed_item(item) %}
+ {% call macro::feed_item(item.post) %}
{% endfor %}
{% endif %}