# Setup news templates
tx_news.templateLayouts {
    1 = Standard Liste
    2 = Kachel Karusell
    3 = Top Liste
}

TCEMAIN {
    linkHandler {
        tx_news {
            handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
            label = News
            configuration {
                table = tx_news_domain_model_news
                storagePid = 0
                hidePageTree = 1
            }
            scanAfter = page
        }
    }
}

tx_csseo {
    news = tx_news_domain_model_news
    news.enable = GP:tx_news_pi1|news
    news.fallback {
        title = title
        description = description
    }
    news.evaluation {
        getParams = &tx_news_pi1[news]=|
        detailPid = 0
    }
}
