feat: Add pipe separators for post meta info in index, past, and single-post HTML files

This commit is contained in:
Your Name (aider) committed 2025-04-28 03:39:04 +08:00
1 parent 4a629b0d82
commit 62f742bbaf
3 files changed
+20 -60

No files matched your search

+4 -12
View File
@@ -73,9 +73,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small> <small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small>
<small class="text-text-muted ml-2 text-sm">1h ago</small> <small class="text-text-muted ml-2 text-sm">1h ago | <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> | 12 comments</small>
<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>
</div> </div>
</div> </div>
@@ -98,9 +96,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@flowstatefiend</small> <small class="text-text-muted ml-2 text-sm hover:underline">@flowstatefiend</small>
<small class="text-text-muted ml-2 text-sm">3h ago</small> <small class="text-text-muted ml-2 text-sm">3h ago | <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> | 5 comments</small>
<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>
</div> </div>
</div> </div>
@@ -123,9 +119,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@wallflower</small> <small class="text-text-muted ml-2 text-sm hover:underline">@wallflower</small>
<small class="text-text-muted ml-2 text-sm">5h ago</small> <small class="text-text-muted ml-2 text-sm">5h ago | <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> | 8 comments</small>
<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>
</div> </div>
</div> </div>
@@ -148,9 +142,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@setupstylist</small> <small class="text-text-muted ml-2 text-sm hover:underline">@setupstylist</small>
<small class="text-text-muted ml-2 text-sm">1d ago</small> <small class="text-text-muted ml-2 text-sm">1d ago | <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> | 20 comments</small>
<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>
</div> </div>
</div> </div>
+4 -12
View File
@@ -82,9 +82,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small> <small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small>
<small class="text-text-muted ml-2 text-sm">1h ago</small> <small class="text-text-muted ml-2 text-sm">1h ago | <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> | 12 comments</small>
<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>
</div> </div>
</div> </div>
@@ -107,9 +105,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@flowstatefiend</small> <small class="text-text-muted ml-2 text-sm hover:underline">@flowstatefiend</small>
<small class="text-text-muted ml-2 text-sm">3h ago</small> <small class="text-text-muted ml-2 text-sm">3h ago | <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> | 5 comments</small>
<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>
</div> </div>
</div> </div>
@@ -132,9 +128,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@wallflower</small> <small class="text-text-muted ml-2 text-sm hover:underline">@wallflower</small>
<small class="text-text-muted ml-2 text-sm">5h ago</small> <small class="text-text-muted ml-2 text-sm">5h ago | <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> | 8 comments</small>
<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>
</div> </div>
</div> </div>
@@ -157,9 +151,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@setupstylist</small> <small class="text-text-muted ml-2 text-sm hover:underline">@setupstylist</small>
<small class="text-text-muted ml-2 text-sm">1d ago</small> <small class="text-text-muted ml-2 text-sm">1d ago | <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> | 20 comments</small>
<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>
</div> </div>
</div> </div>
+12 -36
View File
@@ -66,9 +66,7 @@
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small> <small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small>
<small class="text-text-muted ml-2 text-sm">1h ago</small> <small class="text-text-muted ml-2 text-sm">1h ago | <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> | 12 comments</small>
<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>
</div> </div>
<p> <p>
@@ -99,9 +97,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@commenter1</small> <small class="text-text-muted ml-2 text-sm">@commenter1</small>
<small class="text-text-muted ml-2 text-sm">2h ago</small> <small class="text-text-muted ml-2 text-sm">2h ago | <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> | 3 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -113,9 +109,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small> <small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small>
<small class="text-text-muted ml-2 text-sm">1h ago</small> <small class="text-text-muted ml-2 text-sm">1h ago | <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> | 1 comment</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -135,9 +129,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@commenter2</small> <small class="text-text-muted ml-2 text-sm">@commenter2</small>
<small class="text-text-muted ml-2 text-sm">3h ago</small> <small class="text-text-muted ml-2 text-sm">3h ago | <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> | 2 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -150,9 +142,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@commenter3</small> <small class="text-text-muted ml-2 text-sm">@commenter3</small>
<small class="text-text-muted ml-2 text-sm">5h ago</small> <small class="text-text-muted ml-2 text-sm">5h ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -165,9 +155,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@commenter1</small> <small class="text-text-muted ml-2 text-sm">@commenter1</small>
<small class="text-text-muted ml-2 text-sm">2h ago</small> <small class="text-text-muted ml-2 text-sm">2h ago | <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> | 3 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -179,9 +167,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested1</small> <small class="text-text-muted ml-2 text-sm">@nested1</small>
<small class="text-text-muted ml-2 text-sm">1h 50m ago</small> <small class="text-text-muted ml-2 text-sm">1h 50m ago | <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> | 1 comment</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -193,9 +179,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested2</small> <small class="text-text-muted ml-2 text-sm">@nested2</small>
<small class="text-text-muted ml-2 text-sm">1h 40m ago</small> <small class="text-text-muted ml-2 text-sm">1h 40m ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -207,9 +191,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested3</small> <small class="text-text-muted ml-2 text-sm">@nested3</small>
<small class="text-text-muted ml-2 text-sm">1h 30m ago</small> <small class="text-text-muted ml-2 text-sm">1h 30m ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -227,9 +209,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested4</small> <small class="text-text-muted ml-2 text-sm">@nested4</small>
<small class="text-text-muted ml-2 text-sm">1h 20m ago</small> <small class="text-text-muted ml-2 text-sm">1h 20m ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -241,9 +221,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested5</small> <small class="text-text-muted ml-2 text-sm">@nested5</small>
<small class="text-text-muted ml-2 text-sm">1h 10m ago</small> <small class="text-text-muted ml-2 text-sm">1h 10m ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>
@@ -255,9 +233,7 @@
<div class="mb-1"> <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">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested6</small> <small class="text-text-muted ml-2 text-sm">@nested6</small>
<small class="text-text-muted ml-2 text-sm">1h 5m ago</small> <small class="text-text-muted ml-2 text-sm">1h 5m ago | <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> | 0 comments</small>
<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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small> <small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div> </div>
<div> <div>