From 79c7fe5da0a99fac1a11e86a26cae85ce604d8a2 Mon Sep 17 00:00:00 2001 From: Oliver Kennedy Date: Sun, 24 Sep 2017 22:48:30 -0400 Subject: [PATCH] Correcting dependency --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 39be2304..66b2e5e5 100644 --- a/Rakefile +++ b/Rakefile @@ -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