Permalink
Browse files

Fix secondary nav to use Home (#10800)

  • Loading branch information...
chenopis authored and k8s-ci-robot committed Nov 1, 2018
1 parent 781eb30 commit 6cd8128475fa89426ac4ff4eb43667124646f23b
Showing with 2 additions and 2 deletions.
  1. +1 −1 content/en/docs/home/_index.md
  2. +1 −1 layouts/partials/header.html
@@ -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:
@@ -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 }}

0 comments on commit 6cd8128

Please sign in to comment.