web-apps/vendor/bootstrap/docs/_plugins/bridge.rb

10 lines
187 B
Ruby
Raw Normal View History

2016-10-31 13:48:42 +00:00
require 'yaml'
module Bridge
class Generator < Jekyll::Generator
def generate(site)
site.data["configBridge"] = YAML.load_file("./grunt/configBridge.json")
end
end
end