mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-16 06:37:02 +03:00
12 lines
273 B
Ruby
12 lines
273 B
Ruby
require 'json'
|
|
require 'yaml'
|
|
|
|
module Bridge
|
|
class Generator < Jekyll::Generator
|
|
def generate(site)
|
|
config_bridge_json = File.join(site.source, '../grunt/configBridge.json')
|
|
site.data['configBridge'] = YAML.load_file(config_bridge_json)
|
|
end
|
|
end
|
|
end
|