mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
Use a Jekyll plugin instead of the copy:configBridge grunt task
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require 'yaml'
|
||||
|
||||
module Bridge
|
||||
class Generator < Jekyll::Generator
|
||||
def generate(site)
|
||||
site.data["configBridge"] = YAML.load_file("./grunt/configBridge.json")
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user