Refactor post list metadata display: use flexbox for alignment and add reading time

This commit is contained in:
interlope committed 2026-06-01 16:20:32 +02:00
1 parent 4a5655d4dd
commit d48f5227c3
2 files changed
+15 -3

No files matched your search

+6 -1
View File
@@ -53,7 +53,12 @@
<a href="<?php echo $page->permalink(); ?>">
<h2 class="post-list-title"><?php echo $page->title(); ?></h2>
</a>
<span class="post-list-date"><?php echo $page->date(); ?></span>
<div class="post-list-meta">
<span><i class="bi bi-calendar3"></i><?php echo $page->date(); ?></span>
<?php if (!$page->isStatic()) : ?>
<span><i class="bi bi-clock-history"></i><?php echo $page->readingTime(); ?></span>
<?php endif ?>
</div>
</div>
<!-- Tags and Category -->