Public website
A Jekyll / SASS bootstrap 4 boilerplate with Gulp & Browser Sync
Based on shakyShane's https://github.com/shakyShane/jekyll-gulp-sass-browser-sync
To use this starter project, you'll need the following things installed on your machine.
- Jekyll -
$ gem install jekyll
- NodeJS - use the installer.
- GulpJS -
$ npm install -g gulp
(mac users may need sudo)
- Clone this repo, or download it into a directory of your choice.
- Inside the directory, run
npm install
.
If using Github pages, you tend to want to use a subfolder. In the gulpfile, there is
return cp.spawn( jekyll , ['build','--config','_config_dev.yml'], {stdio: 'inherit'})
Which calls the Jekyll config_dev.yml which sets the url as localhost
. Change to
return cp.spawn( jekyll , ['build'], {stdio: 'inherit'})
if not needed.
development mode
This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc etc.
$ gulp
Generate favicons from e.g. http://realfavicongenerator.net/
Place main favicon in root folder and the rest in img/favicons/
Go to http://fontastic.me/ and make your custom selection of icons. Download SVG file manually and place in img/icons/