jakeisnt / site

quine-like personal website infrastructure
https://jake.isnt.online
Other
0 stars 0 forks source link

use dependencies with static files #95

Closed jakeisnt closed 1 year ago

jakeisnt commented 1 year ago

a dependency is just a file that we listen to changes for

depending on a file calls a parser on the file at build time to get its AST, then passes the AST as an argument to a :body function that accepts a file object (which contains the git information, name, and path to the file)

rework all pages to support this; code generation, then, is just generating lots of components at runtime then building those components

we will also need to provide all of our global constants dynamically - those are necessary for a lot of components. (link-info-table).

jakeisnt commented 1 year ago

in brain