@{ // Shared layout for public-site pages (Pages/ folder). NOT used by Areas/Admin or Areas/User, // which have their own separate _AdminLayout / _UserPanelLayout under their own Areas/*/Pages/Shared // folders - see Areas/Admin/Pages/_ViewStart.cshtml and Areas/User/Pages/_ViewStart.cshtml. // // Individual pages opt in with `Layout = "_Layout";` (root Pages/_ViewStart.cshtml still defaults // to Layout = null, so pages that don't opt in are completely unaffected). // // Extension points: // @section Head { ... } extra // @await RenderSectionAsync("Head", required: false)
@RenderBody() @await RenderSectionAsync("Scripts", required: false)