We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103c9dd commit a6de568Copy full SHA for a6de568
1 file changed
extensions/tags/src/Content/Tags.php
@@ -92,7 +92,8 @@ public function __invoke(Document $document, Request $request)
92
93
$defaultRoute = $this->settings->get('default_route');
94
$document->title = $this->translator->trans('flarum-tags.forum.all_tags.meta_title_text');
95
- $document->meta['description'] = $this->translator->trans('flarum-tags.forum.all_tags.meta_description_text');
+ $document->meta['description'] = $this->settings->get('forum_description')
96
+ ?: $this->translator->trans('flarum-tags.forum.all_tags.meta_description_text');
97
$document->content = $this->view->make('tags::frontend.content.tags', compact('primaryTags', 'secondaryTags', 'children'));
98
$document->canonicalUrl = $this->url->to('forum')->base().($defaultRoute === '/tags' ? '' : $request->getUri()->getPath());
99
$document->payload['apiDocument'] = $apiDocument;
0 commit comments