Fix secondary nav to use Home (#10800)

pull/10807/head
Andrew Chen 2018-11-01 05:44:44 -07:00 committed by k8s-ci-robot
parent 781eb3055a
commit 6cd8128475
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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 }}