Correcting dependency

This commit is contained in:
Oliver Kennedy 2017-09-24 22:48:30 -04:00
parent c6ad916522
commit 79c7fe5da0

View file

@ -102,7 +102,7 @@ site :odin_lab, out: "build" do
for_files(/research\/.*\/index.html/) do
add_dependency "db/lab.json"
end
for_files(/^index.html$/) do
for_files(/^\/index.html$/) do
get_collection("news").map { |f| f[:in_path] }.each { |dep| add_dependency dep }
end