Skip to content

Commit

Permalink
Fix secondary nav to use Home (kubernetes#10800)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenopis authored and k8s-ci-robot committed Nov 1, 2018
1 parent 781eb30 commit 6cd8128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/home/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cid: userJourneys
css: /css/style_user_journeys.css
js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js
display_browse_numbers: true
linkTitle: Documentation
linkTitle: "Home"
main_menu: true
weight: 10
menu:
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div class="nav-buttons" data-auto-burger="primary">
<ul class="global-nav">
{{ $sections := slice "docs/home" "blog" "partners" "community" "case-studies" }}
{{ $sections := slice "docs" "blog" "partners" "community" "case-studies" }}
{{ range $sections }}
{{ with $.Site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}"{{ if eq .Section $.Section }} class="active"{{ end}}>{{ .LinkTitle }}</a></li>{{ end }}
{{ end }}
Expand Down

0 comments on commit 6cd8128

Please sign in to comment.