File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66* .tar
77* .tar. *
88typst-x86_64-unknown-linux-musl
9+ assets /henrik-becker * . *
910
1011.DS_Store
1112.sass-cache
Original file line number Diff line number Diff line change 1313
1414module Jekyll
1515 Hooks . register :site , :post_write do |site |
16- next unless Jekyll . env == "production"
1716 cv = site . data [ 'cv' ]
1817 path = "#{ site . source } /assets/henrik-becker"
1918
@@ -24,7 +23,7 @@ module Jekyll
2423 File . binwrite ( "#{ path } .bson" , BSON ::Document . new ( cv ) . to_bson ( ) )
2524
2625 puts " Generating CV as YAML..."
27- File . write ( "#{ path } yaml " , YAML . dump ( cv ) )
26+ File . write ( "#{ path } .yml " , YAML . dump ( cv ) )
2827
2928 puts " Generating CV as TOML..."
3029 File . write ( "#{ path } .toml" , TomlRB . dump ( cv ) )
@@ -42,7 +41,7 @@ module Jekyll
4241 File . write ( "#{ path } .ttl" , Yertle . dump ( cv ) )
4342
4443 puts " Generating CV as PDF..."
45- system ( "typst compile --font-path assets/fonts #{ site . dest } /assets/henrik-becker .typ #{ site . dest } /assets/henrik-becker .pdf --font-path fonts" )
44+ system ( "typst compile --font-path assets/fonts #{ path } .typ #{ path } .pdf --font-path fonts" )
4645
4746 puts " Generating Agreemets as PDF..."
4847 Dir . foreach ( "#{ site . source } /_agreements" ) do |filename |
You can’t perform that action at this time.
0 commit comments