mirror of
https://github.com/flarum/framework.git
synced 2024-12-06 09:33:37 +08:00
fixed flarum/core#489 missing meta description from admin area
This commit is contained in:
parent
774d896b96
commit
3c492f486a
|
@ -35,6 +35,7 @@ class ForumSerializer extends Serializer
|
|||
{
|
||||
$attributes = [
|
||||
'title' => Core::config('forum_title'),
|
||||
'description' => Core::config('forum_description'),
|
||||
'baseUrl' => Core::url(),
|
||||
'basePath' => parse_url(Core::url(), PHP_URL_PATH) ?: '',
|
||||
'debug' => Core::inDebugMode(),
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ $title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="description" content="{{ $forum->attributes->description }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
|
||||
<meta name="theme-color" content="{{ $forum->attributes->themePrimaryColor }}">
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user