fixed flarum/core#489 missing meta description from admin area

This commit is contained in:
Daniel Klabbers 2015-09-16 21:43:53 +02:00
parent 774d896b96
commit 3c492f486a
2 changed files with 2 additions and 1 deletions

View File

@ -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(),

View File

@ -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 }}">