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()) ?>