From f82ed4619f1cc7de99fded13403299ccce230f1a Mon Sep 17 00:00:00 2001 From: interlope Date: Mon, 1 Jun 2026 21:30:38 +0200 Subject: [PATCH] Refactor author bio display in sidebar to prioritize description over slogan --- php/page.php | 1 - php/sidebar.php | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/php/page.php b/php/page.php index 7ee0599..6affc7f 100644 --- a/php/page.php +++ b/php/page.php @@ -20,7 +20,6 @@
date(); ?> get('Reading time') . ': ' . $page->readingTime() ?> - get('Author') . ': ' . htmlspecialchars($page->username()) ?>
diff --git a/php/sidebar.php b/php/sidebar.php index b0a7859..f9c8794 100644 --- a/php/sidebar.php +++ b/php/sidebar.php @@ -14,8 +14,13 @@
- slogan()) : ?> - + description() ?: $site->slogan(); + ?> + +