So you jumped in head first into Scriban Templates with Sitecore. And now you hit a wall because it doesn't do that one thing you could easily have completed in MVC forms with a controller. Well, this is where you can build your own custom functions to work within Scriban templates. Sitecore already provides a few of these at https://doc.sitecore.com/developers/sxa/93/sitecore-experience-accelerator/en/the-embedded-functions-for-the-scriban-template.html . So How Do You Build Your Own? Well let's begin by discussing what we want to build. In our project we have a need to get the nearest parent of a certain template type. This way we can determine if the page you are viewing is part of a conference section or not. So first, let's build the C# code that will execute when we call the function. We decided to add a new member to the i_item to determine if we were in a conference context and allow us to call other properties as we would need. public class GetConferenceC