mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Revert "index for sub pages"
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- end product dropdown -->
|
||||
|
||||
<div class="tree-nav invisible">
|
||||
<ul>
|
||||
|
||||
@@ -1,23 +1,19 @@
|
||||
<div class="page-nav">
|
||||
<ol>
|
||||
<ul>
|
||||
{{ template "page-nav" . }}
|
||||
</ol>
|
||||
</ul>
|
||||
</div>
|
||||
{{ define "page-nav" }}
|
||||
{{ range .Sections}}
|
||||
<li class="">
|
||||
<a href="{{ .RelPermalink}}">{{ .Title }}</a>
|
||||
{{ with .Params.Description }}
|
||||
<p>{{ . }}</p>
|
||||
{{end}}
|
||||
<li class=""><a href="{{ .RelPermalink}}">{{ .Title }}</a>
|
||||
{{if gt (len .Sections) 0}}
|
||||
<!-- <i class="material-icons expand-toggle">add_box</i> -->
|
||||
<ol>
|
||||
<ul class="hide">
|
||||
{{ range .Pages }}
|
||||
<li class=""><a href="{{ .RelPermalink}}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ template "page-nav" . }}
|
||||
</ol>
|
||||
</ul>
|
||||
{{end}}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user