UNPKG

@amplience/dynamic-content-accelerators

Version:
55 lines (42 loc) 1.34 kB
{{#if (test this.[@type] (toRegex ".*/text")) ~}} {{> acc-template-text }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/video")) ~}} {{> acc-card-template-video }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/promolist")) ~}} {{> acc-template-promoList }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/promo.json")) ~}} {{> acc-template-promo }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/splitblock")) ~}} {{> acc-card-template-splitBlock }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/slider")) ~}} {{> acc-card-template-slider }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/image")) ~}} {{> acc-card-template-image this}} {{~/if}} {{#if (test this.[0].[@type] (toRegex ".*/image")) ~}} {{> acc-card-template-image this.[0]}} {{~/if}} {{#if (test this.[@type] (toRegex ".*/externalblock")) ~}} {{> acc-template-externalBlock }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/cardlist")) ~}} {{> acc-card-template-cardList }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/card.json")) ~}} {{> acc-card-template-card }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/blogpost")) ~}} {{> acc-card-template-blogPost }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/banner")) ~}} {{> acc-card-template-banner }} {{~/if}} {{#if (test this.[@type] (toRegex ".*/page")) ~}} {{> acc-card-template-page }} {{~/if}}