public ActionResult ImageAndContent() { var list = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("imageAndContent")); return(PartialView("~/Views/Partials/Basic Components/ImageAndContent.cshtml", list)); }
public ActionResult BlogsOverview() { var blogList = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("blogPage")); return(PartialView("~/Views/Partials/Blogs/BlogsOverview.cshtml", blogList)); }
public ActionResult ExploreRendering() { var list = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("exploreRendering")); return(PartialView("~/Views/Partials/Basic Components/ExploreRendering.cshtml", list)); }