mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-11 11:10:44 +00:00
Fix nil pointers and paginator errors
This commit is contained in:
1 parent
bce6453fa3
commit
f48598489c
2 files changed
+5
-5
No files matched your search
@@ -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