mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Merge pull request #506 from Luceos/fixed_meta_description
missing meta description from admin area
This commit is contained in:
commit
633f84bbe5
|
@ -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