- Create a Git repo and download or clone these files into the top level of it.
- Install bundle via Ruby gems.
- Install the new
gulp-cli
with these instructions. - Run
bundle install
. - Run
npm install
. - If you have problems installing that due to old Gulp versions, follow this to remove the
gulp.1
file and try again. - Then for development you'll need to run
gulp
andbundle exec jekyll serve
in seperate terminals at the same time. This is a WIP and will be streamlined into a single process with hot reloading soon. - Commit your files and push them to your repo.
- Log into your Siteleaf account and create a new site.
- Then you'll see the 'Connect existing repo', click that and you're good to go.
- Jekyll
- Github Pages Support
- Gulp which handles:
- SCSS Minification/Compilation
- SCSS Compilation
- CSS Autoprefixer
- CSS Sourcemaps
- ES6 Support
- JS Minification
- JS Concat
- Error Notifications
Currently, this starter template cannot compile the CSS with front matter for Jekyll to then process. So once you're finished developing locally and you'd like to push live, follow these steps:
- Make sure bundle and gulp are still running.
- Gulp will have compiled your latest SCSS to CSS in the
assets/styles/main.css
file. So copy these contents to your clipboard. - Then in the
assets/css/styles.scss
you'll see the below:
---
---
// your css below
- Jekyll needs the dashes (front matter) at the top of the file to compile it into the
_site/
folder so keep these and replace all the CSS below the front matter with what you've copied. - Then push up your changes and you'll see your latest changes after publishing to Siteleaf :)