🐛 Fix descriptions

This commit is contained in:
Kazhnuz 2025-07-14 11:09:42 +02:00
parent 40968469d6
commit 4d24c21a41

View file

@ -183,7 +183,7 @@ class Theme
} elseif ($WHERE_AM_I == 'archive') { } elseif ($WHERE_AM_I == 'archive') {
try { try {
$archiveKey = $url->slug(); $archiveKey = $url->slug();
return $L->get('all-post-archive') . Date::prettyArchiveDate($archiveKey); return $L->get('all-post-archive') . " " . Date::prettyArchiveDate($archiveKey);
} catch (Exception $e) { } catch (Exception $e) {
// Archive doesn't exist // Archive doesn't exist
} }
@ -191,7 +191,7 @@ class Theme
try { try {
$authorKey = $url->slug(); $authorKey = $url->slug();
$user = new User($authorKey); $user = new User($authorKey);
return $L->get('all-post-author') . $user->displayName(); return $L->get('all-post-author') . " " . $user->displayName();
} catch (Exception $e) { } catch (Exception $e) {
// Author doesn't exist // Author doesn't exist
} }