v1.7.0: readability & UX pass

This commit is contained in:
spleenftw committed 2026-07-10 14:40:50 +02:00
1 parent 5384ae0cd1
commit e6c472ca7a
6 files changed
+104 -4

No files matched your search

+17 -1
View File
@@ -52,11 +52,16 @@
<!-- Post list (titles only) -->
<div class="post-list">
<?php foreach ($content as $page) : ?>
<article class="post-list-item">
<?php $bdCover = $page->coverImage(); ?>
<article class="post-list-item<?php echo $bdCover ? ' has-thumb' : ''; ?>">
<!-- Load Bludit Plugins: Page Begin -->
<?php Theme::plugins('pageBegin'); ?>
<div class="post-list-row">
<div class="post-list-main">
<div class="post-list-head">
<a href="<?php echo $page->permalink(); ?>">
<h2 class="post-list-title"><?php echo blowfish_text($page->title()); ?></h2>
@@ -101,6 +106,17 @@
</div>
<?php endif ?>
</div><!-- /.post-list-main -->
<!-- Cover thumbnail -->
<?php if ($bdCover) : ?>
<a class="post-list-thumb" href="<?php echo $page->permalink(); ?>" tabindex="-1" aria-hidden="true">
<img src="<?php echo htmlspecialchars($bdCover, ENT_QUOTES, 'UTF-8'); ?>" alt="" loading="lazy" decoding="async" />
</a>
<?php endif ?>
</div><!-- /.post-list-row -->
<!-- Load Bludit Plugins: Page End -->
<?php Theme::plugins('pageEnd'); ?>