Top "Pug" questions

Pug (formerly known as Jade) is a robust, elegant and feature-rich template engine for Node.

Jade include with parameter

In an older version of Jade I was able to include partials and pass variables into them like this: !=partial(…

pug partial
Using javascript code in Jade views - if(variable) shows undefined instead of passing

So this is a recurring issue I have and haven't found another example on SO so here goes: When rendering …

templates node.js partials express pug
Jade - Controlling line-breaks in the HTML output

I have a simple search form I wish to implement using Jade. form input( type="text" size="16" placeholder="Enter your …

html whitespace line-breaks pug templating
Recursive iteration over an object in Jade template?

I have an object of mixed type properties - some strings, some arrays of strings, some objects containing arrays of …

recursion template-engine pug