Created
June 10, 2016 13:18
-
-
Save rpflamm/acfe40b94c27312417011056c5517b26 to your computer and use it in GitHub Desktop.
more link in teaser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:if condition="{newsItem.teaser}"> | |
<f:then> | |
<span itemprop="description"><f:format.html>{newsItem.teaser -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1')} <n:link newsItem="{newsItem}" settings="{settings}" class="more" title="{newsItem.title}"><f:translate key="more-link"/></n:link></f:format.html></span> | |
</f:then> | |
<f:else> | |
<span itemprop="description"><f:format.html>{newsItem.bodytext -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1')} <n:link newsItem="{newsItem}" settings="{settings}" class="more" title="{newsItem.title}"><f:translate key="more-link"/></n:link></f:format.html></span> | |
</f:else> | |
</f:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment