File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ def get_sustaining_members():
2222 section = soup .select_one ('section.section' )
2323
2424 if section :
25+ html_content = section .prettify ().replace ("¶" , "¶" )
2526 template_path = os .path .join (settings .SITE_ROOT , 'templates/flatpages/sustaining_members.html' )
2627 with open (template_path , 'w' ) as f :
27- f .write (section . prettify () )
28+ f .write (html_content )
2829 logger .info (f"get_sustaining_members: Section saved to { template_path } " )
2930 else :
3031 logger .info ("get_sustaining_members: Section not found" )
Original file line number Diff line number Diff line change 33@import " custom.bulma.scss" ;
44@import " sustaining_members.scss" ;
55
6+
7+ html {
8+ scroll-padding-top : 120px ; /* height of your fixed header */
9+ }
10+
611body {
712 color : $text-primary1 ;
813 font-weight : 300 ;
@@ -332,4 +337,17 @@ a.is-active > span {
332337 }
333338.choices__list--dropdown , .choices__list [aria-expanded ] {
334339 z-index : 10 !important ;
340+ }
341+
342+ a .heading-anchor {
343+ visibility : hidden ;
344+ }
345+
346+ h1 :hover > a .heading-anchor ,
347+ h2 :hover > a .heading-anchor ,
348+ h3 :hover > a .heading-anchor ,
349+ h4 :hover > a .heading-anchor ,
350+ h5 :hover > a .heading-anchor ,
351+ h6 :hover > a .heading-anchor {
352+ visibility : visible ;
335353}
You can’t perform that action at this time.
0 commit comments