mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-05 03:26:13 +01:00
Add hint regarding formatted descriptions
This commit is contained in:
parent
197a3e4696
commit
1b304945c0
2 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,8 @@ The extension already allows:
|
|||
|
||||
* Page Type to reference tourist attraction
|
||||
|
||||
* Descriptions are formatted HTML, use `f:format.html` ViewHelper for rendering.
|
||||
|
||||
## Short time goals
|
||||
|
||||
* Content element to display town, tourist information and organisation.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
data-namespace-typo3-fluid="true">
|
||||
<f:for each="{entities}" as="entity">
|
||||
<h5>{entity.title} ({entity.town.title})</h5>
|
||||
<p>{entity.description}</p>
|
||||
{entity.description -> f:format.html()}
|
||||
|
||||
<f:if condition="{entity.media.mainImage}">
|
||||
<f:image src="{entity.media.mainImage.url}" />
|
||||
|
|
Loading…
Reference in a new issue