Is there a way to use razor variables in PageTemplateFeatures in C1?
I have this in MasterLayout.cshtml:
@inherits CompositeC1WebPage @{
string stylesFolder = "~/Frontend/Styles";
string jsFolder = "~/Frontend/Scripts";
string imgLayoutFolder = "~/Frontend/Images/Layout";
string imgSliderFolder = "~/Frontend/Images/Slider";
string websiteTitle = HomePageNode.Title;
}
And I'd like to reference these variables in the PageTemplateFeatures.
Thanks, Robert