I want my page to display differently based on whether the content field for a static resource is filled or not. So, I have this line in my chunk template that is called from a getResources call:
[[+content:isempty=`<p>[[+pagetitle]]: [[+description]]</p>` :else=`<p><a href="[[+content]]">[[+pagetitle]]</a></p>`]]
When it is empty, it generates the pagetitle: description with this on the next line:
`:else=`
then it creates a link to the empty content field using the pagetitle as the linked text.
When it isn't empty, it just generates the text of the content field.
I tried to change the ":" to ":", but it did the same thing.
Any suggestions?