Commit 927c070b authored by Thomas Löffler's avatar Thomas Löffler

Improve page title on extension detail view

parent cc56c35a
Pipeline #9796 passed with stages
in 3 minutes and 43 seconds
......@@ -211,7 +211,7 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
$metaTagManager = GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class)->getManagerForProperty('og:description');
$metaTagManager->addProperty('og:description', $extension->getLastVersion()->getDescription());
$GLOBALS['TSFE']->page['title'] = $extension->getLastVersion()->getTitle();
$GLOBALS['TSFE']->page['title'] = 'TYPO3 Extension \'' . $extension->getLastVersion()->getTitle() . '\' (' . $extension->getExtKey() . ')';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment