Fix secondary nav to use Home (#10800)
This commit is contained in:
committed by
k8s-ci-robot
parent
781eb3055a
commit
6cd8128475
@@ -8,7 +8,7 @@ cid: userJourneys
|
|||||||
css: /css/style_user_journeys.css
|
css: /css/style_user_journeys.css
|
||||||
js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js
|
js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js
|
||||||
display_browse_numbers: true
|
display_browse_numbers: true
|
||||||
linkTitle: Documentation
|
linkTitle: "Home"
|
||||||
main_menu: true
|
main_menu: true
|
||||||
weight: 10
|
weight: 10
|
||||||
menu:
|
menu:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<div class="nav-buttons" data-auto-burger="primary">
|
<div class="nav-buttons" data-auto-burger="primary">
|
||||||
<ul class="global-nav">
|
<ul class="global-nav">
|
||||||
{{ $sections := slice "docs/home" "blog" "partners" "community" "case-studies" }}
|
{{ $sections := slice "docs" "blog" "partners" "community" "case-studies" }}
|
||||||
{{ range $sections }}
|
{{ range $sections }}
|
||||||
{{ with $.Site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}"{{ if eq .Section $.Section }} class="active"{{ end}}>{{ .LinkTitle }}</a></li>{{ end }}
|
{{ with $.Site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}"{{ if eq .Section $.Section }} class="active"{{ end}}>{{ .LinkTitle }}</a></li>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user