Output a static site using Gulp tasks.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
pages
partials
scss
.gitignore
.nojekyll
README.md
config.rb
gulpfile.js
package.json

README.md

Zero: A Minimal Static HTML Engine

Output a static site with Gulp, inspired by Considering a Static Site Tool? Learn Gulp.

Features

  • Pages and partials using Swig
  • Sass/Compass compilation
  • Preview server with Browsersync CSS injection and auto-reloaad
  • Watch processes recompiles HTML and static assets
  • Everything is compiled into the _build directory

Usage

Install gulp dependencies:

 npm install

In a terminal window run:

 gulp

And it should open your browser to http://localhost:3000. This displays the flat-file content of the _build directory.

Troubleshooting

  • If you're unable to run npm install without errors try running the following as you may have a permissions issue. Taken from solution to NPM throws error without sudo.

    sudo chown -R `whoami` ~/.npm