@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery @{ // 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 // @* person profile / people-explorer / family-tree inline modals - global since a person's name can turn up almost anywhere (poem pages, family tree, suggestion forms); peoplegraph.js and familytree.js are the shared renderers PeopleExplorer.open()/FamilyTreeWindow.open() and the category-scoped "شخصیتها" tab use *@ @await RenderSectionAsync("Head", required: false)
@RenderBody() @* diwan: semantic search is an optional external service; hide the widget unless configured *@ @if (!string.IsNullOrEmpty(DiwanRazor.APIRoot.SemanticSearchUrl)) {