news dependency for index.

This commit is contained in:
Oliver Kennedy 2017-09-24 22:45:15 -04:00
parent 628892d942
commit c6ad916522

View file

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