>> if(typeof data.itemData == "string"):
    <div>{{data.itemData}}</div>
>> endif
>> else:
>>     if(data.itemData.type == "cg"):
        <div class="contentgroup">
        {{data.itemData.title}}
        </div>
>> endif
>> else if(data.itemData.type == "c"):
        <div class="category">
        {{data.itemData.title}}
        </div>
>>      endif
>> endif
