From d04f2279e97c8fc4be0af7d72b5d96df55ea892c Mon Sep 17 00:00:00 2001 From: interlope Date: Mon, 1 Jun 2026 17:54:19 +0200 Subject: [PATCH] Simplify author metadata display by removing nickname fallback --- php/page.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/php/page.php b/php/page.php index 5488962..8bc3c31 100644 --- a/php/page.php +++ b/php/page.php @@ -17,14 +17,10 @@ isStatic() && !$url->notFound()): ?> - getUser($page->username()); - $_authorName = ($_authorUser && $_authorUser->nickname()) ? $_authorUser->nickname() : $page->username(); - ?>
date(); ?> get('Reading time') . ': ' . $page->readingTime() ?> - get('Author') . ': ' . htmlspecialchars($_authorName) ?> + get('Author') . ': ' . htmlspecialchars($page->username()) ?>