Issue Feature Closed

#55281Page Generator: addMetaTag - TYPO3 version

Unic AG - TYPO3 01/23/14, 15:24 updated 01/22/15, 13:40

Description

Hi

Since many years it is not possible to remove the following meta tag.

<meta name="generator" content="TYPO3 6.1 CMS">

It should be easy to manage it with a TS condition.

./typo3/sysext/frontend/Classes/Page/PageGenerator.php
$pageRenderer->addMetaTag('<meta name="generator" content="TYPO3 ' . TYPO3_branch . ' CMS"' . $endingSlash . '>');

For example

if (intval($GLOBALS['TSFE']->config['config']['noGeneratorTag']) == 0) {

    $pageRenderer->addMetaTag('<meta name="generator" content="TYPO3 ' . TYPO3_branch . ' CMS"' . $endingSlash . '>');
}

Tested with 6.1.5.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.