mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 20:48:11 +00:00
Fix nil pointers and paginator errors
This commit is contained in:
committed by
Denise
parent
bce6453fa3
commit
f48598489c
@@ -1,5 +1,5 @@
|
||||
{{ $.Scratch.Set "topLevel" . }}
|
||||
{{ $.Scratch.Set "secondLevel" . }}
|
||||
{{ .Scratch.Set "topLevel" . }}
|
||||
{{ .Scratch.Set "secondLevel" . }}
|
||||
|
||||
<nav>
|
||||
<!-- tabs -->
|
||||
@@ -10,8 +10,8 @@
|
||||
<a href="{{ .URL }}" class="btn bg-link p-a-0">
|
||||
<span class="p-h-xs">
|
||||
{{ range .Site.Sections }}
|
||||
{{ if .IsAncestor $.CurrentSection }}
|
||||
{{ $.Scratch.Set "topLevel" . }}
|
||||
{{ if .IsAncestor .CurrentSection }}
|
||||
{{ .Scratch.Set "topLevel" . }}
|
||||
{{ .Title }}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user