diff --git a/_includes/mobile_comment.liquid b/_includes/mobile_comment.liquid index b0edffd..372c3af 100644 --- a/_includes/mobile_comment.liquid +++ b/_includes/mobile_comment.liquid @@ -3,24 +3,38 @@ Assumes JavaScript will handle the navigation to nested replies using fragment identifiers. {% endcomment %} -{% assign top_level_comments = site.comments | where: "post", page.slug | where_exp: "item", "item.parent == nil" | sort: "date" %} + + + +{% assign post_comments = site.comments | where: "post", page.slug %} + + +{% assign top_level_comments = post_comments | where_exp: "item", "item.parent == nil" | sort: "date" %} + +
{{ comment.content }}
+{{ comment.content | default: "Missing content" }}
{# Added default filter #}