[Neos] show content in template if path exists

Tina Eckhorst t.eckhorst at magent.de
Fri Nov 14 14:01:06 CET 2014


Hi,

is there a way to check in the template if a content path exists and only show the content if it does?

Something like this:
<f:if condition="{content.teaser}">
  {content.teaser -> f:format.raw()}
</f:if>

I'm new to Neos and not quite sure how to handle this.
Thanks!


More information about the Neos mailing list