Hacker News new | past | comments | ask | show | jobs | submit login

I replaced Hugo with 80 lines of code.

https://alexxx.co/static-site-generator.html

Features partial templates, markdown/html, mustache variables, html prettified, dead simple.

PS.: please give me ideas to reduce LOC or simplify code.




Nice, I did the same, but in 280 characters :-) https://blog.nyman.re/2020/10/11/introducing-piss-a.html

I like your write-up of yours, re-reading my post I realise it’s severely lacking examples. Going to take som inspiration from you and update my post so it’s a bit clearer.


Nice! I’m looking for ideas to reduce LOC, but I’m resistant to learn template systems: either too complicated or don’t support markdown.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: