Add multiple classes in pug
Pug, formerly known as Jade, is a template engine thas uses a JavaScript render. Sometimes we have to add a class conditionally based on a variable, here I go with some tricky solutions I found.
One condition to check
The easiest way to check a class...
giuliachiola.hashnode.dev3 min read