| domain | pugjs.cn |
| summary | Pug (formerly known as Jade) is a minimal, flexible, and fast CSS-like templating language for JavaScript, primarily used with Node.js. It's designed to be more concise than other templating languages like Haml or EJS, offering better performance and powerful features. Pug uses indentation for clarity, supports attributes, case-sensitive syntax, inline comments (code), conditional statements (if/else), doctypes, filters, includes, inheritance, interpolation, iteration, mixins, plain text, tags, and has enterprise support. It's compatible with JavaScript, Node.js, and Haml/Jade. The provided content demonstrates a simple Pug template for an HTML document, including a header, title, script tag, and body with h1 and p elements. |
| title | Introduction to Pug template engine | Pug template engine Chinese documentation | Pug Chinese website |
| description | Pug is a robust, flexible, feature-rich template engine developed specifically for the Node.js platform. Pug was renamed from Jade. |
| keywords | html, jade, express, head, title, script, body, options, locals, ruby, type, node, template, engine, container, simple, language |
| upstreams |
|
| downstreams |
|
| nslookup | A 59.110.65.123 |
| created | 2025-11-09 |
| updated | 2025-11-09 |
| summarized | 2025-11-11 |
|
|