From 5916c93fd9e15edc59d3863208f3f8d3dfc6b6f2 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 6 May 2021 15:14:52 +0200 Subject: [PATCH] Migrate website title The old usage was removed, see: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/11.0/Breaking-91473-DeprecatedFunctionalityRemoved.html sys_template.sitetitle --- Configuration/TypoScript/Setup/Page.typoscript | 10 +++++----- Resources/Private/Partials/Page/Header.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Configuration/TypoScript/Setup/Page.typoscript b/Configuration/TypoScript/Setup/Page.typoscript index cabaf01..b86fe78 100644 --- a/Configuration/TypoScript/Setup/Page.typoscript +++ b/Configuration/TypoScript/Setup/Page.typoscript @@ -123,12 +123,12 @@ page { } } - settings { - websiteTitle < sitetitle - websiteSubTitle = Coding is Art - } - variables { + websiteTitle = TEXT + websiteTitle.data = site:websiteTitle + websiteSubTitle = TEXT + websiteSubTitle.value = Coding is Art + introduction =< styles.content.get introduction { select { diff --git a/Resources/Private/Partials/Page/Header.html b/Resources/Private/Partials/Page/Header.html index 3743e8d..9d00537 100644 --- a/Resources/Private/Partials/Page/Header.html +++ b/Resources/Private/Partials/Page/Header.html @@ -2,8 +2,8 @@ data-namespace-typo3-fluid="true">
- {settings.websiteTitle} - - {settings.websiteSubTitle} + {websiteTitle} + - {websiteSubTitle}