<div class="entry">
>>  var publishDate;
>>  if(data.itemData.publishDate) {
>>    publishDate = data.itemData.publishDate.substring(0,10);
>>  }
>>  if(typeof data.itemData == "string"):
    {{data.itemData}}
>>  endif
>>  else:
    <div class="title">{{data.itemData.title}}</div>
    <div class="snippet">{{data.itemData.snippet}}</div>
    <div class="data">
>>  if(data.itemData.category):
        {{data.itemData.category.join(" | ")}}
>>  endif;
>>  if(publishDate):
        {{" | " + publishDate}}
>>  endif;
    </div>
>> endif;
</div>