{{~exec(function() { helpers.var.translations = { leo : data.translations.leo } })}} {{#listing}} {{~exec(function() { helpers.var.image = helpers.plugins.cloudinary.createResource({ imageUrl: data.primary_image_url || helpers.plugins.sv_site.siteConfig.custom[helpers.plugins.sv_site.site].defaultImageUrl, }); const PUNCT_EOL_RX = new RegExp(/(&[#\w]+?;|[ ;\:\/,\.\-–—])+$/); let nohtml = helpers.plugins.stringLib.stripHtml(data.description); let newDesc = helpers.plugins.stringLib.substringOnWord(nohtml, 216); if (newDesc.length < nohtml.length) { newDesc = newDesc.replace(PUNCT_EOL_RX, '') + '…' } helpers.var.plainDescription = newDesc; })}}
{{~setVar("width", 640 )}} {{~setVar("height", 421)}} {{~setVar("aspectRatio", `${helpers.var.width} / ${helpers.var.height}`)}}

{{%title}}

{{:~var.plainDescription}}

{{~var.plainDescription}}

{{/}} {{~fill(helpers.partial('listing_ta_snippet'), data)}}
{{/}}