We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a1d228 commit 0a69a4fCopy full SHA for 0a69a4f
input/_layout.cshtml
@@ -84,10 +84,6 @@
84
{
85
@Html.Partial("_post-after-content")
86
}
87
- else if (isPage)
88
- {
89
- @Html.Partial("_page-after-content")
90
- }
91
@Html.Partial("_common-after-content")
92
</div>
93
input/_navbar.cshtml
@@ -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)))
+@foreach(IDocument doc in Context.OutputPages.Where(x => x.GetBool("ShowInNavbar", false)).OrderBy(x => x.GetInt(Keys.Order)))
2
3
// Pages get added to the navigation bar by default,
4
// other pages (including posts) only if they have ShowInNavbar set to true
0 commit comments