File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
.a-anchorlink {
2
2
display : flex ;
3
3
flex-wrap : wrap ;
4
+ margin-bottom : 1.2rem ;
5
+ align-items : center ;
6
+ column-gap : .8rem ;
7
+ }
8
+
9
+ .a-anchorlink > h2 {
10
+ margin-bottom : 0 ;
4
11
}
5
12
6
- .a-anchorlink ::before {
7
- content : " " ;
13
+ .o-divider {
8
14
display : block ;
9
15
width : 100% ;
10
16
margin : 2rem 0 ;
13
19
background-repeat : no-repeat ;
14
20
height : 2.4rem ;
15
21
opacity : 50% ;
22
+ border-top : 0 ;
16
23
}
17
24
18
25
.a-anchorlink__link {
21
28
height : 3.2rem ;
22
29
align-items : center ;
23
30
justify-content : center ;
24
- margin-left : .8rem ;
25
31
border-radius : var (--border-radius-s );
26
32
opacity : .8 ;
27
33
text-decoration : none ;
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ img {
172
172
justify-content : space-between ;
173
173
flex-flow : wrap ;
174
174
column-gap : 2rem ;
175
+ row-gap : 1rem ;
175
176
margin-bottom : 1.6rem ;
176
177
align-items : center ;
177
178
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
17
17
</ div >
18
18
19
19
< div data-pagefind-weight ="2 ">
20
- {{- with .Content -}}
21
- {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "anchorLink.copy ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
22
- {{- end -}}
20
+ {{ partial "content" . }}
23
21
</ div >
24
22
</ div >
25
23
< div class ="o-single__container o-related__operator-wrapper ">
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
16
16
{{ partial "updateDate.html" . }}
17
17
</ div >
18
18
< div data-pagefind-weight ="2.5 ">
19
- {{- with .Content -}}
20
- {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "copyAnchorLink ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
21
- {{- end -}}
19
+ {{ partial "content" . }}
22
20
</ div >
23
21
</ div >
24
22
{{ partial "image" (partial "helper/contentImage" . ) }}
Original file line number Diff line number Diff line change
1
+ {{- with .Content -}}
2
+ {{ . | replaceRE "(< h [2] id =\ "([^\"]+)\".+)(</ h[2]+> )" (print `< hr class ="o-divider "> < span class ="a-anchorlink "> ${1}${3}< a href ="#${2} " class ="a-anchorlink__link " title ="` (T "anchorLink.copy ") `"> ` (partial "icon" "link") `</ a > </ span > `) | safeHTML }}
3
+ {{- end -}}
You can’t perform that action at this time.
0 commit comments