dc-accelerators-content-rendering-service
Version:
Amplience DC Frontend modules, using HTML Service
59 lines (45 loc) • 1.39 kB
HTML
{{#if (test this.[ ] (toRegex ".*/text")) ~}}
{{> acc-template-text }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/video")) ~}}
{{> acc-template-video }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/promo")) ~}}
{{> acc-template-promo }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/promolist")) ~}}
{{> acc-template-promoList }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/splitblock")) ~}}
{{> acc-template-splitBlock }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/slider")) ~}}
{{> acc-template-slider }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/image")) ~}}
{{> acc-template-image this}}
{{~/if}}
{{#if (test this.[0].[ ] (toRegex ".*/image")) ~}}
{{> acc-template-image this.[0]}}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/externalblock")) ~}}
{{> acc-template-externalBlock }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/cardlist")) ~}}
{{> acc-template-cardList }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/card.json")) ~}}
{{> acc-template-card }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/blogpost")) ~}}
{{> acc-template-blogPost }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/banner")) ~}}
{{> acc-template-banner }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/page")) ~}}
{{> acc-template-page }}
{{~/if}}
{{#if (test this.[ ] (toRegex ".*/sfcc-slot-accelerators")) ~}}
{{> sfcc-contentWrapper }}
{{~/if}}