From ecf192dc650b98cb6b11432286d9fd93db73d8b5 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 8 Sep 2010 22:41:46 -0700 Subject: [PATCH] Getting child content rendered in the core layout --HG-- branch : theming --- src/Orchard.Web/Core/Shapes/Views/Layout.cshtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Orchard.Web/Core/Shapes/Views/Layout.cshtml b/src/Orchard.Web/Core/Shapes/Views/Layout.cshtml index a99787ed1..d99c2f9cf 100644 --- a/src/Orchard.Web/Core/Shapes/Views/Layout.cshtml +++ b/src/Orchard.Web/Core/Shapes/Views/Layout.cshtml @@ -12,6 +12,9 @@
+@{ + Model.Content.Add(Model.Metadata.ChildContent, "5"); +} @Display(Model.Content)