File tree Expand file tree Collapse file tree 2 files changed +33
-34
lines changed Expand file tree Collapse file tree 2 files changed +33
-34
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,25 @@ kramdown:
14
14
disable : true
15
15
16
16
docs :
17
- - title : Documentation
17
+ - page : Quick Start
18
+ url : /quick-start/
19
+ - page : Installation
20
+ url : /installation/
18
21
links :
19
- - page : Quick Start
20
- url : /quick-start/
21
- - page : Installation
22
- url : /installation/
23
- links :
24
- - page : One-step Script
25
- url : /installation/#one-step-script
26
- - page : Caddy
27
- url : /installation/#caddy
28
- - page : Docker
29
- url : /installation/#docker
30
- - page : Configuration
31
- url : /configuration/
32
- - page : Caddy Plugins
33
- url : /caddy/
22
+ - page : One-step Script
23
+ url : /installation/#one-step-script
24
+ - page : Caddy
25
+ url : /installation/#caddy
26
+ - page : Docker
27
+ url : /installation/#docker
28
+ - page : Configuration
29
+ url : /configuration/
30
+ links :
31
+ - page : Flags
32
+ url : /configuration/#flags
33
+ - page : Available locales
34
+ url : /configuration/#available-locales
35
+ - page : Configuration file
36
+ url : /configuration/#configuration-file
37
+ - page : Caddy Plugins
38
+ url : /caddy/
Original file line number Diff line number Diff line change @@ -18,24 +18,17 @@ <h1 class="title is-1 is-spaced">{{ page.title | escape }}</h1>
18
18
< aside class ="menu ">
19
19
{% if site.docs[0] %}
20
20
{% for item in site.docs %}
21
- < p class ="menu-label ">
22
- {{ item.title }}
23
- </ p >
24
- {% if item.links[0] %}
25
- < ul class ="menu-list ">
26
- {% for entry in item.links %}
27
- < li > < a {% if page.url == entry.url %}class ="is-active "{% endif %} href ="{{ entry.url | absolute_url }} "> {{ entry.page }}</ a >
28
- {% if entry.links[0] %}
29
- < ul >
30
- {% for subentry in entry.links %}
31
- < li > < a href ="{{ subentry.url | absolute_url }} "> {{ subentry.page }}</ a > </ li >
32
- {% endfor %}
33
- </ ul >
34
- {% endif %}
35
- </ li >
36
- {% endfor %}
37
- </ ul >
38
- {% endif %}
21
+ < ul class ="menu-list ">
22
+ < li > < a {% if page.url == item.url %}class ="is-active "{% endif %} href ="{{ item.url | absolute_url }} "> {{ item.page }}</ a >
23
+ {% if item.links[0] %}
24
+ < ul >
25
+ {% for entry in item.links %}
26
+ < li > < a href ="{{ entry.url | absolute_url }} "> {{ entry.page }}</ a > </ li >
27
+ {% endfor %}
28
+ </ ul >
29
+ {% endif %}
30
+ </ li >
31
+ </ ul >
39
32
{% endfor %}
40
33
{% endif %}
41
34
</ aside >
@@ -47,3 +40,4 @@ <h1 class="title is-1 is-spaced">{{ page.title | escape }}</h1>
47
40
</ div >
48
41
</ div >
49
42
</ article >
43
+
You can’t perform that action at this time.
0 commit comments