File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change 4949}
5050
5151# let body-entry (context : (:), body ) = {
52- show : page . with (margin : (top : 88pt ), header : [
52+ show : page . with (margin : (top : 88pt ),
53+ header : [
5354 # set align (center )
5455 # set text (size : 30pt )
5556 # box (
5960 inset : 10pt ,
6061 [# context . title ],
6162 )
62- ], footer : [
63- # set align (left )
64- Written by:
65- # h (30% )
66- Witnessed by:
67- ], background : set-margins (8% , 8% ))
63+ ],
64+ footer : [
65+ # grid (
66+ columns : (2fr , 2fr , 1fr ),
67+ [
68+ Written by: # h (10pt ) # context . author
69+ ],
70+ [
71+ Witnessed by: # h (10pt ) # context . witness
72+ ],
73+ [
74+ # align (right , box (fill : surface-1 , outset : 8pt , counter (page ). display ()))
75+ ]
76+ )
77+ ],
78+ background : set-margins (8% , 8% ))
6879
6980 show heading : it => {
7081 set-heading (it , context . type )
7182 }
83+
7284 show raw . where (block : false ): box . with (
7385 fill : surface-1 ,
7486 inset : (x : 4pt , y : 0pt ),
7991 inset : 8pt ,
8092 width : 100%
8193 )
94+
8295 body
8396}
8497
You canβt perform that action at this time.
0 commit comments