chore(fonts.css): font cleanup + optimization
This commit is contained in:
parent
0e565970a5
commit
3a0649ee9c
12 changed files with 27 additions and 10 deletions
|
@ -43,6 +43,7 @@ class OembedHandler extends BaseHandler
|
|||
}
|
||||
|
||||
$results = $this->fetchFromApi('optimized_oembed', 'url=eq.' . urlencode($relativePath));
|
||||
|
||||
if (!empty($results)) {
|
||||
$item = $results[0];
|
||||
|
||||
|
@ -58,6 +59,7 @@ class OembedHandler extends BaseHandler
|
|||
}
|
||||
|
||||
$segments = explode('/', trim($relativePath, '/'));
|
||||
|
||||
if (count($segments) === 1 && $segments[0] !== '') {
|
||||
$title = ucwords(str_replace('-', ' ', $segments[0])) . ' • ' . $globals['author'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue