コード例 #1
0
        public ActionResult ImageAndContent()
        {
            var list = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("imageAndContent"));

            return(PartialView("~/Views/Partials/Basic Components/ImageAndContent.cshtml", list));
        }
コード例 #2
0
        public ActionResult BlogsOverview()
        {
            var blogList = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("blogPage"));

            return(PartialView("~/Views/Partials/Blogs/BlogsOverview.cshtml", blogList));
        }
コード例 #3
0
        public ActionResult ExploreRendering()
        {
            var list = CurrentPage.DescendantsOrSelf().Where(x => x.IsDocumentType("exploreRendering"));

            return(PartialView("~/Views/Partials/Basic Components/ExploreRendering.cshtml", list));
        }