ds-site/Resources/Private/Partials/Menu/Page.html
Daniel Siepmann 0feb7c46fd Add page / blog post images to output
Also move as in dataprocessing always to top, to show it in folded vim.
2019-12-13 13:27:25 +01:00

21 lines
655 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
})}
{page.data.abstract -> f:format.html()}
<f:if condition="{page.media.0}">
{f:render(partial: 'Image', arguments: {image: page.media.0})}
</f:if>
<footer>
<p><a href="{page.link}">Read more …</a></p>
</footer>
</article>
</html>