Fork me on GitHub

Gulp Scaffold

This a demo of using gulp_scaffold to quickly write a static website with gulp using:

Goodies

Pug, coffeescript and sass are used as replacement of html, javascript and css. You can focus on what you write and we will compile everything for you.

Bootstrap integration

Bootstrap is shipped, which mean you can override its variables. Just redeclare them in variables.scss (or anywhere else in stylesheets) and Bootstrap will be compiled using them.

We also included fontawesome because we know you love all of those icons!

Minification and compression

It will be just about anywhere: your html, css and js will minified, and all images will be compressed without requiring any action from your side. Faster load times, happier users!

Routing (well sort of…)

Aren't you bored to write all your urls manually? What if instead of writing a(href='blog/why-i-love-gulp.html') your could just have a(href=routes.blog.gulp) and reuse it everywhere? Well you can! Just write your routes inside tasks/routes.coffee and those variables will be available in all of your views!

Here is the view code for this page.