Change Documentation and Home links in nav (#9914)

pull/9921/head
Andrew Chen 2018-08-20 11:33:42 -04:00 committed by k8s-ci-robot
parent 5db4b83a66
commit 84abf8eacf
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
---
title: Home
title: Documentation
---

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

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 }}">{{ .LinkTitle }}</a></li>{{ end }}
{{ end }}