refactor: update post list layout and links

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-04-30 17:06:04 +08:00
1 parent f2d2dc80bb
commit d807e1d0e1
1 file changed
+1 -3
+1 -3
View File
@@ -28,10 +28,8 @@
<p class="mt-0 mb-0.5"> <p class="mt-0 mb-0.5">
<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>
<!-- Post title header -->
<div class="mt-0 mb-1 text-sm flex items-center"> <div class="mt-0 mb-1 text-sm flex items-center">
<small class="text-text-muted text-xs hover:underline">{{ post.author }}</small> <small class="text-text-muted ml-2 text-xs"><a href="#" class="ml-2 text-xs text-primary hover:underline">{{ post.author }}</a> | {{ post.date | date: "%d %b %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">reply</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">{{ post.comments_count }} comments</a></small>
<small class="text-text-muted ml-2 text-xs">{{ post.date | date: "%d %b %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</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">{{ post.comments_count }} comments</a></small>
</div> </div>
</div> </div>
</div> </div>