2
0
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:
Heinrich Fenkart
2014-11-05 18:35:13 +01:00
parent e27dc5d71e
commit 30df201abc
3 changed files with 10 additions and 6 deletions
+9
View File
@@ -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