public function main()
    {
        // INIT
        $this->tsSetup = $GLOBALS['TSFE']->tmpl->setup['plugin.']['metaseo.']['sitemap.'];

        // check if sitemap is enabled in root
        if (!GeneralUtility::getRootSettingValue('is_sitemap', true)) {
            $this->showError('Sitemap is not available, please check your configuration [control-center]');
        }

        return $this->build();
    }