Top "Pug" questions

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

Long block of text in Jade textarea?

I'm using Jade in my latest node.js app. I'd like to have a long block of text in a …

javascript node.js template-engine pug
How to code HTML with jade and webpack with hot reload

I'm new with webpack, trying to setup simple config to code HTML/CSS with jade templates, PostCSS, hot reload and …

javascript node.js webpack pug webpack-dev-server
Inserting Meta using jade Template engine

I want to render <meta name="viewport" content="width=device-width, initial-scale=1.0"> in my index page Html head is …

node.js pug
OS X editor (or IDE) that is really good for "node.js" development?

I'm an old Emacs user - I've used it for about 10years now. When I switched to Mac I started …

javascript macos node.js pug stylus
Express Generator Without Jade

I am trying to generate an express skeleton, using the express generator. So it would be this: $ npm install express-generator …

html node.js express pug
Jade Templates - Dynamic Attributes

I want to create attributes on the fly for some html elements. In my case I'd like to set (or …

templates pug
using partials with express in node.js

I am trying to render partials using node.js. Here is my code. app.js: var express = require('express') , routes = …

javascript node.js express pug partials
Pug/Jade conditional AND/&& statement

I cannot seem to find detailed documentation on conditionals for Pug/Jade contemplating language to use && in a …

html conditional pug templating
Difference between include and block in Jade

What is the the difference between blocks and using include when you are creating Jade templates? When do you use …

javascript node.js express pug
jQuery .offset() returns undefined value

I built this very basic .map() function with jQuery to store the top offsets of my HTML sections in an …

jquery undefined pug offset codekit