Skip to content

Commit 60f9014

Browse files
authored
Revert "Promote guides to second level header"
1 parent 87ecb11 commit 60f9014

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed

config.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,6 @@ featureKatacoda = false
8181
url = "https://github.com/buildpacks"
8282
weight = 4
8383

84-
[[menu.docs]]
85-
name = "Application Developer Guide"
86-
url = "/docs/app-developer-guide"
87-
weight = 1
88-
89-
[[menu.docs]]
90-
name = "Buildpack Author Guide"
91-
url = "/docs/buildpack-author-guide"
92-
weight = 2
93-
94-
[[menu.docs]]
95-
name = "Platform Operator Guide"
96-
url = "/docs/operator-guide/"
97-
weight = 3
98-
9984
[security]
10085
enableInlineShortcodes = false
10186
[security.exec]

themes/buildpacks/layouts/partials/header.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,4 @@
3030
<a class="github-button icon-button bg-blue button d-none d-lg-flex" href="https://github.com/buildpacks">GitHub</a>
3131
</div>
3232
</nav>
33-
34-
<nav id="subnav" class="navbar navbar-expand-sm" role="navigation">
35-
<ul class="nav navbar-nav">
36-
{{ range $.Site.Menus.docs }}
37-
<li class="nav-link text-center">
38-
<a class="nav-link py-2 py-lg-0 px-1" href="{{.URL}}">{{.Name}}</a>
39-
</li>
40-
{{ end }}
41-
</ul>
42-
</nav>
4333
</header>

themes/buildpacks/layouts/partials/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
{{- if ne $numberOfPages 0 }}
5353
{{- $depth = add (int $depth) 1 }}
5454
<ul class="ml-2">
55-
{{- $expand = (or $isCurrent) -}}
55+
{{- $expand = (or .Params.expand $isCurrent) -}}
5656
{{- $pages := (.Pages | union .Sections) }}
5757
{{- range $pages.ByWeight }}
5858
{{- if (not .Params.hidden) }}

0 commit comments

Comments
 (0)