1.2.0 • Published 2 years ago
pug-simple v1.2.0
pug-simple
Recursively traverses a directory tree, renders all .pug files in it to HTML
and then writes them to the output directory with the same tree structure.
Given this:
pug/
├── files/
│ ├── index.pug
│ └── nested/
│ └── page.pug
└── templates/
└── master.pugRunning this:
pugs pug/files/ site.com/Outputs this:
site.com/
├── index.html
└── nested/
└── page.htmlInstallation
npm install pug-simpleUsage
pugs pug/files/ site.com/License
GNU Affero General Public License, version 3.