ds-site/Resources/Private/Templates/ContentElements/Admonition.html

20 lines
591 B
HTML
Raw Normal View History

2019-12-13 15:17:30 +01:00
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
{f:layout(name: 'Default')}
<f:section name="Header">
<aside class="admonition-{data.header_layout}">
{f:render(partial: 'Header', arguments: {
uid: data.uid,
layout: '2',
header: "{f:translate(id: 'frontend.content.admonition.header.{data.header_layout}', extensionName: 'DsSite')}"
})}
</f:section>
<f:section name="Content">
{data.bodytext -> f:format.html()}
</aside>
</f:section>
</html>