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

+12 -36
View File
@@ -66,9 +66,7 @@
<!-- Post title header -->
<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">1h ago</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>
<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>
</div>
<p>
@@ -99,9 +97,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@commenter1</small>
<small class="text-text-muted ml-2 text-sm">2h ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -113,9 +109,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small>
<small class="text-text-muted ml-2 text-sm">1h ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -135,9 +129,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@commenter2</small>
<small class="text-text-muted ml-2 text-sm">3h ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -150,9 +142,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@commenter3</small>
<small class="text-text-muted ml-2 text-sm">5h ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -165,9 +155,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@commenter1</small>
<small class="text-text-muted ml-2 text-sm">2h ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -179,9 +167,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested1</small>
<small class="text-text-muted ml-2 text-sm">1h 50m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -193,9 +179,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested2</small>
<small class="text-text-muted ml-2 text-sm">1h 40m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -207,9 +191,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested3</small>
<small class="text-text-muted ml-2 text-sm">1h 30m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -227,9 +209,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested4</small>
<small class="text-text-muted ml-2 text-sm">1h 20m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -241,9 +221,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested5</small>
<small class="text-text-muted ml-2 text-sm">1h 10m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>
@@ -255,9 +233,7 @@
<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>
<small class="text-text-muted ml-2 text-sm">@nested6</small>
<small class="text-text-muted ml-2 text-sm">1h 5m ago</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="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>
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
</div>
<div>