mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 05:00:24 +00:00
Merge pull request #17520 from davidjb/v4-dev-relative-grunt
Specify configBridge as relative path to source for Jekyll
This commit is contained in:
commit
d84c15f1d0
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ require 'yaml'
|
|||
module Bridge
|
||||
class Generator < Jekyll::Generator
|
||||
def generate(site)
|
||||
site.data["configBridge"] = YAML.load_file("./grunt/configBridge.json")
|
||||
path = File.join(site.source, "../grunt/configBridge.json")
|
||||
site.data["configBridge"] = YAML.load_file(path)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue