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