diff --git a/app/main.py b/app/main.py index 31c6f10..d0063dc 100644 --- a/app/main.py +++ b/app/main.py @@ -856,6 +856,7 @@ def _merge_replies( reply_tree_node.children = sorted( reply_tree_node.children + webmention_replies, key=lambda node: node.published_at, + reverse=True, ) return reply_tree_node diff --git a/app/templates/object.html b/app/templates/object.html index 12e2ff5..6d4f920 100644 --- a/app/templates/object.html +++ b/app/templates/object.html @@ -31,12 +31,15 @@ {% macro display_replies_tree(replies_tree_node) %} {% if replies_tree_node.is_requested %} -{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, webmentions=webmentions, expanded=not replies_tree_node.is_root, is_object_page=True) }} +{{ utils.display_object(replies_tree_node.ap_object, likes=likes, shares=shares, webmentions=webmentions, expanded=not replies_tree_node.is_root, is_object_page=True, is_h_entry=False) }} {% else %} {% if replies_tree_node.wm_reply %} + {# u-comment h-cite is displayed by default for webmention #} {{ utils.display_webmention_reply(replies_tree_node.wm_reply) }} {% else %} - {{ utils.display_object(replies_tree_node.ap_object) }} +