File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed
Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 11.a-anchorlink {
22 display : flex ;
3- flex-wrap : wrap ;
3+ flex-wrap : nowrap ;
4+ margin-bottom : 1.2rem ;
5+ align-items : center ;
6+ justify-content : space-between ;
7+ column-gap : .8rem ;
8+ }
9+
10+ .a-anchorlink > h2 {
11+ margin-bottom : 0 ;
412}
513
6- .a-anchorlink ::before {
7- content : " " ;
14+ .o-divider {
815 display : block ;
916 width : 100% ;
1017 margin : 2rem 0 ;
2128 height : 3.2rem ;
2229 align-items : center ;
2330 justify-content : center ;
24- margin-left : .8rem ;
2531 border-radius : var (--border-radius-s );
2632 opacity : .8 ;
2733 text-decoration : none ;
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ img {
163163 justify-content : space-between ;
164164 flex-flow : wrap ;
165165 column-gap : 2rem ;
166+ row-gap : 1rem ;
166167 margin-bottom : 1.6rem ;
167168 align-items : center ;
168169
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
1717 </ div >
1818
1919 < 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" . }}
2321 </ div >
2422 </ div >
2523 < div class ="o-single__container ">
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ <h1 data-pagefind-meta="title">{{ .Title }}</h1>
1616 {{ partial "updateDate.html" . }}
1717 </ div >
1818 < 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" . }}
2220 </ div >
2321 </ div >
2422 {{ 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 `< span class ="o-divider "> </ span > < 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