From 1ca20c5529e52e4e058daab0ea3248b257612821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 31 Aug 2023 11:03:11 +0200 Subject: [PATCH] Task: Cleanup itemscope attributes of news articles --- .../Private/Layouts/News/Detail.html | 4 +- .../Private/Partials/News/List/Item.html | 8 +-- .../Private/Templates/News/News/Detail.html | 60 ++++++++++--------- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/News/Detail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/News/Detail.html index 6a3dab78..dbdac17d 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/News/Detail.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/News/Detail.html @@ -2,8 +2,6 @@ xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers" data-namespace-typo3-fluid="true"> -
- -
+ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html index f1ee3a76..c8d284bc 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/News/List/Item.html @@ -2,7 +2,7 @@ xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers" data-namespace-typo3-fluid="true"> -
+
@@ -32,12 +32,12 @@

- {newsItem.title} + {newsItem.title}

{newsItem.author} am - + in @@ -48,7 +48,7 @@

-
+
{newsItem.teaser -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1') -> f:format.html()} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/News/News/Detail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/News/News/Detail.html index 1455ce99..a600b036 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/News/News/Detail.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/News/News/Detail.html @@ -23,36 +23,38 @@ -

- {newsItem.title} -

-

- {newsItem.author} am - - in - - - {tag.title} - - {f:if(condition: iteration.isLast, else: ', ')} - - -

- -

- {newsItem.teaser} -

-
-
- - - {newsItem.bodytext} - -
- {newsItem.contentElementIdList} -
+
+

+ {newsItem.title} +

+

+ {newsItem.author} am + + in + + + {tag.title} + + {f:if(condition: iteration.isLast, else: ', ')} + - +

+ +

+ {newsItem.teaser} +

+
+
+ + + {newsItem.bodytext} + +
+ {newsItem.contentElementIdList} +
+
+
+