Skip to content
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