{{:categoryEvents}}{{#categoryEvents.0}}
{{catName}}
{{/categoryEvents.0}}{{?:categoryOffers}}{{#categoryOffers.0}}
{{categoryname}}
{{/categoryOffers.0}}{{?:categoryListings}}{{#categoryListings}}{{:~equal(data.primary === true, true)}}
{{catName}}
{{/}}{{/categoryListings}}{{?:categories}}{{#categories.0}}
{{title}}
{{/categories.0}}{{?:subtitle}}
{{~plugins.stringLib.substringOnWord(helpers.plugins.stringLib.stripHtml(data.subtitle), 30)}}
{{/}}
{{title}}
{{subtitle}}
{{:authorName}}{{~setVar("authorLabel", data.author_label)}}
By {{:~var.authorLabel}}{{~var.authorLabel}}{{?}}local contributor{{/}} {{authorName}}
{{/authorName}}{{:description}}{{~plugins.stringLib.substringOnWord(helpers.plugins.stringLib.stripHtml(data.description), 600)}}
{{?}}{{~exec(function() { if(data.custom_video.videotype === "youtube") { helpers.var.videourl = "http://www.youtube.com/watch?v=" + data.custom_video.videoid; }else if (data.custom_video.videotype === "vimeo") {helpers.var.videourl = "https://vimeo.com/" + data.custom_video.videoid;}})}}
{{/description}}