fix: Update mobile_comment.liquid to match desktop comment structure
This commit is contained in:
1 parent
076b54bd1b
commit
3df5aa3e5f
1 file changed
+4
-5
@@ -11,11 +11,10 @@
|
||||
{% for comment in top_level_comments %}
|
||||
{% assign direct_replies = site.comments | where: "parent", comment.slug %}
|
||||
<div class="border-b border-gray-200 pb-3 mb-3" id="mobile-comment-{{ comment.slug }}">
|
||||
<div class="flex justify-between items-center mb-1">
|
||||
<small class="text-xs text-primary">
|
||||
<a href="#" class="text-text-muted hover:underline">@{{ comment.author }}</a>
|
||||
<span class="text-text-muted opacity-75 ml-2">{{ comment.date | date: "%b %d, %Y" }}</span>
|
||||
</small>
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Back"><i class="fas fa-arrow-left"></i></a>
|
||||
<small class="ml-2 text-xs text-primary"><a href="#" class="text-text-muted hover:underline">@{{ comment.author }}</a></small>
|
||||
<small class="ml-2 text-xs text-primary">{{ comment.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">[-]</a></small>
|
||||
</div>
|
||||
<p class="text-sm mb-2">{{ comment.content | default: "Missing content" }}</p> {# Added default filter #}
|
||||
<div class="text-right">
|
||||
|
||||
Reference in new issue
Block a user