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