mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-06-01 17:45:34 +00:00
Fix nil pointers and paginator errors
This commit is contained in:
committed by
Denise
parent
bce6453fa3
commit
f48598489c
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Rancher Server Tags
|
||||
draft: true
|
||||
layout: single-docs-left
|
||||
layout: single-docs
|
||||
weight: 200
|
||||
---
|
||||
|
||||
|
||||
@@ -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