Skip to content

Jekyll project template using gulp supportin jade, sass and browser sync.

License

Notifications You must be signed in to change notification settings

dpasch01/jekyll-jade-sass-browser-sync-template

Repository files navigation

Jekyll Jade, Sass project template

A starter project including a setup of Jekyll, Jade, GulpJS, SASS, AutoPrefixer and Browser sync. Inspired by shakyShane's project and Devtips tutorial.

To use this starter project, you'll need the following things installed on your machine.

  1. Jekyll - $ gem install jekyll
  2. NodeJS - use the installer.
  3. GulpJS - $ npm install -g gulp (mac users may need sudo)

Local Installation

  1. Clone this repo, or download it into a directory of your choice.
  2. Inside the directory, run npm install.

Usage

This will give you file watching, browser synchronization, auto-rebuild, CSS injecting etc.

$ gulp

Deploy with Gulp

You can easily deploy your site build to a gh-pages branch. First, follow the instructions at gulp-gh-pages to get your branch prepared for the deployment and to install the module. Then, in gulpfile.js you'll want to include something like the code below. gulp.src() needs to be the path to your final site folder, which by default will be _site. If you change the destination in your _config.yml file, be sure to reflect that in your gulpfile.

var deploy = require("gulp-gh-pages");

gulp.task("deploy", ["jekyll-build"], function () {
    return gulp.src("./_site/**/*")
        .pipe(deploy());
});

About

Jekyll project template using gulp supportin jade, sass and browser sync.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published