Layout = "MasterTemplate.cshtml";
string CurrentURL = Request.Url.AbsoluteUri;
var homePage = Umbraco.Content(1112);
var accordionList = homePage.Children.Where("NodeTypeAlias == \"ContactUs\"").First();
var langVar = "?lang=en";
if (CurrentURL.Contains("lang=cy"))
{
langVar = "?lang=cy";
}
var u = umbraco.library.RequestServerVariables("HTTP_HOST") + CurrentPage.Url + langVar;
string url1 = System.Web.HttpUtility.UrlEncode(u);
No comments:
Post a Comment