1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Use default system font instead of Open Sans

This commit is contained in:
Toby Zerner
2018-09-21 11:20:17 +09:30
parent 4690812402
commit 3a7f88b74c
2 changed files with 2 additions and 4 deletions

View File

@@ -37,9 +37,7 @@ class Meta implements ContentInterface
private function buildHead(HtmlDocument $document)
{
$head = [
'font' => '<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600">'
];
$head = [];
if ($faviconUrl = array_get($document->getForumApiDocument(), 'data.attributes.faviconUrl')) {
$head['favicon'] = '<link rel="shortcut icon" href="'.e($faviconUrl).'">';