From 6cd31a00a3b14932d5da84c44931722597a51c5e Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 10 Jan 2020 16:24:42 +0100 Subject: [PATCH] Do not render list of typo3 or topics if not available in blog post header --- .../Private/Partials/BlogPostHeader.html | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/Resources/Private/Partials/BlogPostHeader.html b/Resources/Private/Partials/BlogPostHeader.html index 925ffd9..268034f 100644 --- a/Resources/Private/Partials/BlogPostHeader.html +++ b/Resources/Private/Partials/BlogPostHeader.html @@ -7,36 +7,41 @@ then: '{title}', else: title )} +

Published: , Updated:

-

Tested with TYPO3: - {f:render(section: 'TopicList', arguments: { - topics: compatibleWith, - addLinks: addLinks - })} -

-

Topics: - {f:render(section: 'TopicList', arguments: { - topics: topics, - addLinks: addLinks - })} -

+ + {f:render(section: 'TopicList', arguments: { + headline: 'Tested with TYPO3:', + topics: compatibleWith, + addLinks: addLinks + })} + + {f:render(section: 'TopicList', arguments: { + headline: 'Topics:', + topics: topics, + addLinks: addLinks + })} - - - {topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')} - - + +

{headline} + + + {topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')} + + +

+