File tree Expand file tree Collapse file tree 4 files changed +18
-17
lines changed Expand file tree Collapse file tree 4 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -1067,7 +1067,7 @@ p {
1067
1067
.breadcrumb-layout {
1068
1068
position : relative;
1069
1069
background-color : white;
1070
- width : calc (100% + 4rem );
1070
+ /* width: calc(100% + 4rem); */
1071
1071
margin-left : -2rem ;
1072
1072
padding : 1rem 2rem ;
1073
1073
@@ -1712,6 +1712,14 @@ ul .code-block {
1712
1712
background-color : oklch (var (--color-codeblock-highlight ));
1713
1713
}
1714
1714
1715
+ /* MARK: Catalog
1716
+ */
1717
+ .catalog {
1718
+ .catalog__table {
1719
+ padding-bottom : 2rem ;
1720
+ }
1721
+ }
1722
+
1715
1723
/* MARK: Images
1716
1724
*/
1717
1725
figure {
Original file line number Diff line number Diff line change 3
3
< div class ="docs-container row override-sidebar-collapse ">
4
4
<!-- Replace icons -->
5
5
{{ $content := partial "icon-replacement.html" (dict "content" .Content) }}
6
-
6
+
7
7
{{if (.Params.catalog) }}
8
8
< main class ="content content-has-toc " role ="main ">
9
9
{{ else if and (gt .WordCount 200 ) (.Params.toc) }}
25
25
< section class ="breadcrumb-layout wide ">
26
26
{{ if not .IsHome }}
27
27
{{ if not (in .Params.display_breadcrumb "false" ) }}
28
- {{ partial "breadcrumb" .}}
28
+ {{ partial "breadcrumb" .}}
29
29
{{ end }}
30
30
{{ end }}
31
31
</ section >
@@ -36,7 +36,7 @@ <h1>{{ .Title }}</h1>
36
36
{{ if in .Params.doctypes "beta" }}{{ partial "beta-badge" . }}{{ end }}
37
37
38
38
< hr >
39
-
39
+
40
40
{{ if .Page.Lastmod }}
41
41
< div class ="last-modified ">
42
42
{{ partial "page-meta-links" . }}
@@ -48,14 +48,7 @@ <h1>{{ .Title }}</h1>
48
48
49
49
{{ partial "previous-next-links-in-section-with-title.html" . }}
50
50
</ main >
51
- {{ if and (gt .WordCount 200 ) (.Params.toc) }}
52
- {{ if (add (len (findRE "< h3 " .Content)) (len (findRE "< h2" .Content))) }}
53
- < div id ="toc " class ="col-md-3 d-none d-xl-block d-print-none nginx-toc align-top ">
54
- {{ partial "toc.html" . }}
55
- </ div >
56
- {{ end }}
57
- {{ end }}
58
-
51
+
59
52
</ div >
60
53
</ section >
61
54
</ section >
Original file line number Diff line number Diff line change 22
22
{{ $p := . }}
23
23
< a name ="{{$p.name}} "> </ a >
24
24
< h3 > {{$p.name}}
25
- < a class ="headerlink float-right " href ="#{{$p.name}} " title ="{{$p.name}} "> < i class =" fas fa-link fa-xs " aria-hidden =" true " > </ i > < /a > </ h3 >
25
+ < a class ="headerlink float-right " href ="#{{$p.name}} " title ="{{$p.name}} "> </ a > </ h3 >
26
26
< table >
27
27
< tr >
28
28
< td style ="width: 200px "> description</ td >
Original file line number Diff line number Diff line change 23
23
24
24
< a name ="{{$p.name}} "> </ a >
25
25
< h3 > {{$p.name}}
26
- < a class ="headerlink float-right " href ="#{{$p.name}} " title ="{{$p.name}} "> < i class =" fas fa-link fa-xs " aria-hidden =" true " > </ i > < /a > </ h3 >
26
+ < a class ="headerlink float-right " href ="#{{$p.name}} " title ="{{$p.name}} "> </ a > </ h3 >
27
27
< table >
28
28
< tr >
29
29
< td style ="width: 200px; padding-bottom:5px "> description</ td >
@@ -79,9 +79,9 @@ <h3>{{$p.name}}
79
79
< li >
80
80
< a href ="#{{$p.name}} "> {{$p.name}}</ a >
81
81
</ li >
82
-
82
+
83
83
{{ end }}
84
84
</ ul >
85
85
</ div >
86
-
87
- </ div >
86
+
87
+ </ div >
You can’t perform that action at this time.
0 commit comments