Skip to content

Instantly share code, notes, and snippets.

@karlstolley
Last active September 22, 2021 13:30
Show Gist options
  • Save karlstolley/0d5b8a036cb52f5b1a1d to your computer and use it in GitHub Desktop.
Save karlstolley/0d5b8a036cb52f5b1a1d to your computer and use it in GitHub Desktop.
Fancy-pants Jekyll stuff
#_config.yml
exclude: [Gemfile, Gemfile.lock]
destination: ../pdemo-compiled
# _plugins/bundler.rb
require 'rubygems'
require 'bundler/setup'
Bundler.require(:default)
source 'http://rubygems.org'
gem 'jekyll-haml' # See https://github.com/samvincent/jekyll-haml
gem 'bootstrap-sass' # See https://github.com/twbs/bootstrap-sass
#_plugins/haml.rb
Haml::Options.defaults[:attr_wrapper] = '"'
Haml::Options.defaults[:format] = :xhtml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment