Skip to content

Commit 0a69a4f

Browse files
committed
Disable IsPage till perf regression is fixed
- reverses commit 8c248f0 partially ref. #24, rel. #25
1 parent 9a1d228 commit 0a69a4f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

input/_layout.cshtml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@
8484
{
8585
@Html.Partial("_post-after-content")
8686
}
87-
else if (isPage)
88-
{
89-
@Html.Partial("_page-after-content")
90-
}
9187
@Html.Partial("_common-after-content")
9288
</div>
9389
</div>

input/_navbar.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@foreach(IDocument doc in Context.OutputPages.Where(x => x.GetBool("ShowInNavbar", x.GetBool("IsPage"))).OrderBy(x => x.GetInt(Keys.Order)))
1+
@foreach(IDocument doc in Context.OutputPages.Where(x => x.GetBool("ShowInNavbar", false)).OrderBy(x => x.GetInt(Keys.Order)))
22
{
33
// Pages get added to the navigation bar by default,
44
// other pages (including posts) only if they have ShowInNavbar set to true

0 commit comments

Comments
 (0)