{% comment %} Mobile Comment View: Renders a flat list of top-level comments for the current post. Assumes JavaScript will handle the navigation to nested replies using fragment identifiers. {% endcomment %} {% assign post_comments = site.comments | where: "post", page.slug %} {% assign top_level_comments = post_comments | where_exp: "item", "item.parent == nil or item.parent == ''" | sort: "date" %}
{{ comment.content | default: "Missing content" }}
{# Added default filter #}No comments yet.
{% endif %}