What does HackerNews think of pug?

Pug – robust, elegant, feature rich template engine for Node.js

Language: JavaScript

The right way to start is with HTML and motherfucking website.

https://motherfuckingwebsite.com/

Really. At this point this is what websites should strive to be. Text on the screen.

Everything about HTML can be learned from the MDN documentation:

https://developer.mozilla.org/en-US/docs/Web/HTML

It can be written by hand but that's way too verbose. Pug is a great solution to that problem: it's just HTML but much less verbose. I integrated it with GitHub Pages so pug sources get compiled to HTML and published when commits are pushed. Great experience.

https://pugjs.org/

https://github.com/pugjs/pug

After this, the next step is to learn CSS so you can make it look a little nicer.

https://developer.mozilla.org/en-US/docs/Web/CSS

Javascript should only be necessary if you want to do something like this:

https://ciechanow.ski/mechanical-watch/

I use Pug for markup in my Svelte + TS projects and I adore it: https://github.com/pugjs/pug
Nice, this reminds me of the Jade templating language [0], although after a bit of Googling I see it's now called Pug [1].

[0] http://jade-lang.com/

[1] https://github.com/pugjs/pug