News for hackers. Stuff that matters.
Re:Zola: A fast static site generator in a single binary by Yoofie on Friday March 05, 2021 @12:50PM (#26359669)
I use PHP for exactly this reason. I wrote my own single .exe binary (written in C++) that generates JSON files from markdown files + others. The JSON files are then turned into static files via PHP using whatever template I care to create.

I think people their life harder when they go out of their way to avoid using PHP when really it is suited towards these types of problems.

Re:Zola: A fast static site generator in a single binary by mikepurvis on Friday March 05, 2021 @01:31PM (#26360145)
I mean, it used to literally stand for Personal Home Page, so it sounds like you're using it for its original purpose.
Re:Zola: A fast static site generator in a single binary by wccrawford on Friday March 05, 2021 @09:09PM (#26364594)
It drives me nuts when people implement template languages on top of PHP. That was its purpose.