Commit graph

12 commits

Author SHA1 Message Date
93984819ff
add passthrough built-in template 2024-09-13 16:21:40 +02:00
e7543840b0
add applyTemplateFile
applyTemplate now returns the output alone and that's the version passed
to all entries and shit

this allows a user (krizej) to do inline templates
2024-09-13 16:05:30 +02:00
c0b6df99d8
expose applyTemplate and add docs 2024-09-13 11:17:33 +02:00
3565101316
simplify internal engine functions
now they tend to take in functions instead of files
2024-09-13 11:15:06 +02:00
90856f19bf
swap applyTemplate arguments 2024-09-13 11:02:03 +02:00
a022e735b0
move one function lower
no reason for this change I just felt like it
2024-09-12 20:22:13 +02:00
d31fd244af
move getEntry to extraArgs instead of making the user add it 2024-05-25 17:25:15 +02:00
9fc59b7048
big changes, remove file from entry 2024-05-25 15:50:10 +02:00
851e39d544
wrap another unknown template in error in backticks 2024-05-25 13:17:05 +02:00
b837ac9be5
replace getDirectory with builtins.dirOf 2024-05-25 01:49:33 +02:00
b3c4693262
wrap invalid template in backticks 2024-05-25 01:37:17 +02:00
e66f5a3707
init 2024-05-22 21:19:37 +02:00