Skip to content

Instantly share code, notes, and snippets.

@taiansu
Last active December 24, 2015 19:59
Show Gist options
  • Save taiansu/6854258 to your computer and use it in GitHub Desktop.
Save taiansu/6854258 to your computer and use it in GitHub Desktop.
jekyll settings
name: Your Site
markdown: maruku
pygments: false
timezone: Asia/Taipei
encoding: UTF-8
exclude: [assets, Guardfile]
http_path = "/"
css_dir = "stylesheets"
sass_dir = "assets/stylesheets"
images_dir = "images"
javascripts_dir = "javascripts"
source 'https://rubygems.org'
ruby '2.0.0'
gem 'jekyll'
gem 'maruku'
gem 'rake'
gem 'sass'
gem 'coffee-script'
gem 'guard-jekyll'
guard 'compass', configuration_file: "config.rb" do
watch(/^assets\/stylesheets\/(.*)\.scss/)
end
guard 'process', :name => 'Combine Javascript from CoffeeScript', :command => 'coffee -cbj javascripts/application.js assets/javascripts/' do
watch %r{assets/javascripts/.+\.coffee}
end
guard "jekyll-plus", serve: true do
watch(/.*/)
ignore(/^_site/)
end
guard 'livereload', apply_js_live: true, apply_css_live: true do
watch(/.*/)
ignore(/^_site/)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment