News for hackers. Stuff that matters.
Re:Show HN: A static site generator built for longevity by naansequitur on Saturday August 28, 2021 @03:06AM (#28336189)
Hey thanks! Can definitely empathize with the imposter syndrome, it's a tough hurdle to clear.

For the templating system I decided to also add an option to define your own if you don't like the [] syntax (https://prpl.dev/api#options). Figured since the system is regex-based instead of AST-based there's no reason not to expose it as an option to users.

For the metadata I implemented a basic parser. Here's a link to that part of the source code, it's not the most efficient nor does it cover all the edge cases, but it's simple enough it can be easily updated (https://github.com/tyhopp/prpl/blob/master/packages/core/src...).

Good luck and hope I can see your system on HN someday too

There are no comments on this comment yet.