File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 < head >
44 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 ">
55 < meta name ="viewport " content ="width=device-width ">
6+ < meta name ="fediverse:creator " content ="@hanwen@types.pl ">
67 < link rel ="stylesheet " href ="{{ site.root_dir }}css/weibian.css ">
78 < link rel ="preconnect " href ="https://fonts.googleapis.com ">
89 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin ="anonymous ">
Original file line number Diff line number Diff line change 5656 let parsed-names = attrs . at (" parsed-names" )
5757 _guard-and-render-metadata (" author" , (it ) => {
5858 _meta-item (html . address (class : " author" , {
59- it . map ((a ) => {
59+ it . map ((a ) => {
6060 let main-name-part = a . given + " " + a . family
6161 if a . at (" prefix" , default : "" ) != "" {
6262 main-name-part = a . prefix + " " + main-name-part
201201 identifier : identifier ,
202202 title : title ,
203203 .. attrs
204- )
204+ )
205205 body
206206 })
207207}
241241
242242# let template-html (
243243 identifier : "" ,
244- title : "" ,
244+ title : "" ,
245245 .. attrs ,
246246) = (doc ) => {
247247 show math . equation : set text (font : site . config . math-fonts )
271271 show raw . where (block : true ): it => {
272272 {
273273 set raw (theme : " /_template/modus_operandi.tmTheme" )
274- html . div (class : " color-light" , it )
274+ html . div (class : " color-light codeblock " , it )
275275 }
276276 {
277277 set raw (theme : " /_template/modus_vivendi.tmTheme" )
278- html . div (class : " color-dark" , it )
278+ html . div (class : " color-dark codeblock " , it )
279279 }
280280 }
281281
291291 )
292292
293293 show footnote : it => html . aside (it . body )
294-
294+
295295 html . html ({
296296 _head (
297297 identifier : identifier ,
335335 inline-tree-html
336336} else {
337337 inline-tree-paged
338- }
338+ }
You can’t perform that action at this time.
0 commit comments