bridge.rb 187 B

12345678910
  1. require 'yaml'
  2. module Bridge
  3. class Generator < Jekyll::Generator
  4. def generate(site)
  5. site.data["configBridge"] = YAML.load_file("./grunt/configBridge.json")
  6. end
  7. end
  8. end