2019-11-15 13:17:22 +01:00
|
|
|
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
|
|
|
data-namespace-typo3-fluid="true">
|
|
|
|
|
|
|
|
<header>
|
|
|
|
<h1>{f:if(
|
|
|
|
condition: link,
|
|
|
|
then: '<a href="{link}">{title}</a>',
|
|
|
|
else: title
|
|
|
|
)}</h1>
|
2020-01-10 16:24:42 +01:00
|
|
|
|
2019-11-15 13:17:22 +01:00
|
|
|
<p>
|
|
|
|
Published: <time>{blogPost.lastUpdated -> f:format.date(format: 'Y-m-d')}</time>,
|
|
|
|
Updated: <time>{blogPost.SYS_LASTCHANGED -> f:format.date(format: 'Y-m-d')}</time>
|
|
|
|
</p>
|
2020-01-10 16:24:42 +01:00
|
|
|
|
|
|
|
{f:render(section: 'TopicList', arguments: {
|
|
|
|
headline: 'Tested with TYPO3:',
|
|
|
|
topics: compatibleWith,
|
|
|
|
addLinks: addLinks
|
|
|
|
})}
|
|
|
|
|
|
|
|
{f:render(section: 'TopicList', arguments: {
|
|
|
|
headline: 'Topics:',
|
|
|
|
topics: topics,
|
|
|
|
addLinks: addLinks
|
|
|
|
})}
|
2019-11-15 13:17:22 +01:00
|
|
|
</header>
|
2020-01-08 21:03:54 +01:00
|
|
|
|
|
|
|
<f:section name="TopicList">
|
2020-01-10 16:24:42 +01:00
|
|
|
<f:if condition="{topics}">
|
2020-01-10 16:39:13 +01:00
|
|
|
<p>{headline} <f:for each="{topics}" as="topic" iteration="i"><f:spaceless>
|
|
|
|
<f:render section="Topic"
|
|
|
|
contentAs="content"
|
|
|
|
arguments="{
|
|
|
|
addLinks: addLinks,
|
|
|
|
topicUid: topic.data.uid
|
|
|
|
}"
|
|
|
|
>
|
|
|
|
{topic.data.title}{f:if(condition: '!{i.isLast}', then: ',')}
|
|
|
|
</f:render>
|
|
|
|
</f:spaceless></f:for></p>
|
2020-01-10 16:24:42 +01:00
|
|
|
</f:if>
|
2020-01-08 21:03:54 +01:00
|
|
|
</f:section>
|
|
|
|
|
2020-01-10 16:39:13 +01:00
|
|
|
<f:section name="Topic">
|
|
|
|
{f:if(
|
|
|
|
condition: addLinks,
|
|
|
|
then: "{f:render(section: 'LinkedTopic', arguments: _all)}",
|
|
|
|
else: content
|
|
|
|
)}
|
|
|
|
</f:section>
|
|
|
|
|
|
|
|
<f:section name="LinkedTopic">
|
|
|
|
<a href="{f:uri.page(pageUid: 11, additionalParams: {topic: topicUid})}">{content -> f:spaceless()}</a>
|
2020-01-08 21:03:54 +01:00
|
|
|
</f:section>
|
2019-11-15 13:17:22 +01:00
|
|
|
</html>
|