Skip to content

Commit

Permalink
Revert "Promote guides to second level header"
Browse files Browse the repository at this point in the history
  • Loading branch information
sambhav authored Dec 22, 2022
1 parent 87ecb11 commit 60f9014
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
15 changes: 0 additions & 15 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,6 @@ featureKatacoda = false
url = "https://github.com/buildpacks"
weight = 4

[[menu.docs]]
name = "Application Developer Guide"
url = "/docs/app-developer-guide"
weight = 1

[[menu.docs]]
name = "Buildpack Author Guide"
url = "/docs/buildpack-author-guide"
weight = 2

[[menu.docs]]
name = "Platform Operator Guide"
url = "/docs/operator-guide/"
weight = 3

[security]
enableInlineShortcodes = false
[security.exec]
Expand Down
10 changes: 0 additions & 10 deletions themes/buildpacks/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,4 @@
<a class="github-button icon-button bg-blue button d-none d-lg-flex" href="https://github.com/buildpacks">GitHub</a>
</div>
</nav>

<nav id="subnav" class="navbar navbar-expand-sm" role="navigation">
<ul class="nav navbar-nav">
{{ range $.Site.Menus.docs }}
<li class="nav-link text-center">
<a class="nav-link py-2 py-lg-0 px-1" href="{{.URL}}">{{.Name}}</a>
</li>
{{ end }}
</ul>
</nav>
</header>
2 changes: 1 addition & 1 deletion themes/buildpacks/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
{{- if ne $numberOfPages 0 }}
{{- $depth = add (int $depth) 1 }}
<ul class="ml-2">
{{- $expand = (or $isCurrent) -}}
{{- $expand = (or .Params.expand $isCurrent) -}}
{{- $pages := (.Pages | union .Sections) }}
{{- range $pages.ByWeight }}
{{- if (not .Params.hidden) }}
Expand Down

0 comments on commit 60f9014

Please sign in to comment.