From b1b437ce1f83ebfb8808964846c964cac5e907c2 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 20 Feb 2023 02:02:59 -0800 Subject: app_bsky: expand post (and post view) types --- adenosine-pds/templates/thread.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adenosine-pds/templates/thread.html') 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) %}
---
{% endif %} -{% call macro::feed_item(post) %} +{% call macro::feed_item(post.post) %} {% if post.replies.is_some() && post.replies.as_ref().unwrap().len() > 0 %}
--- replies ---
{% for item in post.replies.as_ref().unwrap() %} - {% call macro::feed_item(item) %} + {% call macro::feed_item(item.post) %} {% endfor %} {% endif %} -- cgit v1.2.3