refactor: Swap author+date with REPLY+COMMENTS in post_list.liquid

This commit is contained in:
Kerby Martino (aider) committed 2025-05-01 10:59:16 +08:00
1 parent 0c67ba4f80
commit fe261ec597
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,6 @@
<strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong> <strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong>
</p> </p>
<div class="mt-2 mb-1 text-sm flex items-center space-x-2"> <div class="mt-2 mb-1 text-sm flex items-center space-x-2">
<small class="text-sm font-action"><a href="#" class="text-sm hover:underline">{{ post.author }}</a> <span class="text-text-muted text-sm opacity-75">{{ post.date | date: "%d %b %Y" }}</span></small>
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
<span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center"> <span class="bg-gray-200 text-gray-700 text-xs font-action px-4 py-2 rounded-full flex items-center">
<i class="fas fa-reply mr-1"></i> REPLY <i class="fas fa-reply mr-1"></i> REPLY
@@ -40,6 +39,7 @@
<i class="fas fa-comment mr-1"></i> {{ post.comments_count }} COMMENTS <i class="fas fa-comment mr-1"></i> {{ post.comments_count }} COMMENTS
</span> </span>
</div> </div>
<small class="text-sm font-action"><a href="#" class="text-sm hover:underline">{{ post.author }}</a> <span class="text-text-muted text-sm opacity-75">{{ post.date | date: "%d %b %Y" }}</span></small>
</div> </div>
</div> </div>
</div> </div>