mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
d84c15f1d0
Specify configBridge as relative path to source for Jekyll
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
|