ds-site/Resources/Private/Partials/Menu/Page.html

23 lines
702 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<article>
{f:render(partial: 'BlogPostHeader', arguments: {
link: page.link,
title: page.title,
blogPost : page.data,
compatibleWith: page.compatibleWith,
topics: page.topics
})}
<main>
{page.data.abstract -> f:format.html()}
<f:if condition="{page.media.0}">
{f:render(partial: 'Image', arguments: {image: page.media.0})}
</f:if>
</main>
<footer>
<p><a href="{page.link}">Read more …</a></p>
</footer>
</article>
</html>