SXA - Functions with Scriban

While building rendering variants with Scriban for a Sitecore Experience Accelerator(SXA) solution, there are several times when we have to repeat the same code again and again. This article explains how we can build functions in Scriban templates which we can reuse.


Scriban Extensions - Sitecore Experience Accelerator

Scriban templates can be written as part of the rendering variants for an SXA (Sitecore Experience Accelerator) solution. Many times, the field renderers and the OOTB available Scriban functions fall short of our requirements. This is when the Custom Scriban Extensions come in handy.