Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable IsPage till perf regression is fixed #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions input/_layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@
{
@Html.Partial("_post-after-content")
}
else if (isPage)
{
@Html.Partial("_page-after-content")
}
@Html.Partial("_common-after-content")
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion input/_navbar.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@foreach(IDocument doc in Context.OutputPages.Where(x => x.GetBool("ShowInNavbar", x.GetBool("IsPage"))).OrderBy(x => x.GetInt(Keys.Order)))
@foreach(IDocument doc in Context.OutputPages.Where(x => x.GetBool("ShowInNavbar", false)).OrderBy(x => x.GetInt(Keys.Order)))
{
// Pages get added to the navigation bar by default,
// other pages (including posts) only if they have ShowInNavbar set to true
Expand Down