3 ms·
Is there any static website builders which make it easy to execute code at build time? They all have a templating language, and sometimes I just wanna write a
by CJefferson 6y ago
Is there any static website builders which make it easy to execute code at build time?
They all have a templating language, and sometimes I just wanna write a quick function to do something like read a file, chop something out and wrap it in some html -- something that would take 8 lines of Python.
- lattice_epochs 6y agoProbably mentioned earlier but I'd recommend Gatsby if you're just looking for a simple static site. Though, we switched over to Next recently to take advantage of SSR.
- CJefferson 6y agoI'll have a look -- I've previously tried Hugo, pelican and Jekyll and while pelican and Jekyll provide extensions, they just seem so heavyweight to write.