File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 7373 }
7474 @await Html.PartialAsync("_Splash")
7575 @{
76- string section = Document .Destination .Segments .Length > 1 ? Document . Destination . Segments [ 0 ]. ToString ( ) : null ;
76+ string section = Document .Destination .Segments .Length > 1 ? @Context . GetString ( DocsKeys . ApiPath ) : null ;
7777 IDocument root = OutputPages .Get (section + " /index.html" );
7878 }
7979 <div class =" flex-grow-1 d-flex flex-column" >
166166 {
167167 IgnoreSection (SectionNames .Sidebar );
168168 }
169+ if (IsSectionDefined (SectionNames .ChildPages ))
170+ {
171+ IgnoreSection (SectionNames .ChildPages );
172+ }
169173
170174 < div id = " content" class = " offset-lg-2 col-12 col-lg-8 p-4 pt-md-0 bg-white" >
171175@* Render the body without indenting in case it contains things like directives * @
You can’t perform that action at this time.
0 commit comments