Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is pug doing something special here that another template engine, or just a custom script, could not do?

Concatenating strings is not that complicated.



You could write a script in JS to generate all the elements, then save the rendered HTML. Bootstrapping a HTML+CSS only site with HTML+CSS+JS.




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

Search: