Exemple #1
0
        private static IPublishedContent GetErrorPage()
        {
            var homePage = AliasProvider.GetHomePage();

            var errorPage = AliasProvider.GetErrorPage();

            var xpath = XPathHelper.GetXpath(homePage, errorPage);

            return(UmbracoHelper.TypedContentSingleAtXPath(xpath));
        }