🐛 Fix descriptions
This commit is contained in:
parent
40968469d6
commit
4d24c21a41
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue