mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
accordion
This commit is contained in:
@@ -16,8 +16,8 @@ However, for version 2.0, most of Rancher is redesigned to work on Kubernetes. R
|
||||
- Rancher Kubernetes Engine (RKE)
|
||||
- Integration with cloud Kubernetes services, such as GKE, EKS, and AKS.
|
||||
|
||||
{{% accordion id="accid" label="label" %}}
|
||||
## Asopida paratur mulces mentis
|
||||
<!-- {{% accordion id="accid" label="label" %}}
|
||||
## Asopida paratur mulces mentis
|
||||
|
||||
Neque nati paucis, aut virgo iuppiter in solet iussaque refert ne osse, accepta
|
||||
variari infracto? Relevare *altis*: cum forumque melior: cum viae questus
|
||||
@@ -34,7 +34,7 @@ However, for version 2.0, most of Rancher is redesigned to work on Kubernetes. R
|
||||
5. Patietur post
|
||||
{{% /accordion %}}
|
||||
{{% accordion id="accid2" label="label2" %}}
|
||||
## Asopida paratur mulces mentis
|
||||
## Asopida paratur mulces mentis
|
||||
|
||||
Neque nati paucis, aut virgo iuppiter in solet iussaque refert ne osse, accepta
|
||||
variari infracto? Relevare *altis*: cum forumque melior: cum viae questus
|
||||
@@ -50,4 +50,4 @@ However, for version 2.0, most of Rancher is redesigned to work on Kubernetes. R
|
||||
4. Timor miraris vitam inconcessaeque profers porrigis
|
||||
5. Patietur post
|
||||
{{% /accordion %}}
|
||||
|
||||
-->
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<div class="row m-t-sm">
|
||||
|
||||
<aside class="col-sm-3 col-xs-12 p-l-0">
|
||||
@@ -22,6 +22,10 @@
|
||||
{{end}}
|
||||
|
||||
<div class="main-content">
|
||||
<!-- this is a test -->
|
||||
<!-- {{ partial "page-nav.html" . }} -->
|
||||
<!-- end test -->
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ range (.Paginator 5).Pages }}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<div class="page-nav">
|
||||
<ul>
|
||||
{{ template "page-nav" . }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ define "page-nav" }}
|
||||
{{ range .Sections}}
|
||||
<li class=""><a href="{{ .RelPermalink}}">{{ .Title }}</a>
|
||||
{{if gt (len .Sections) 0}}
|
||||
<!-- <i class="material-icons expand-toggle">add_box</i> -->
|
||||
<ul class="hide">
|
||||
{{ range .Pages }}
|
||||
<li class=""><a href="{{ .RelPermalink}}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ template "page-nav" . }}
|
||||
</ul>
|
||||
{{end}}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user