diff --git a/lib/usesthis/site.rb b/lib/usesthis/site.rb index d2f738664..134c2b962 100644 --- a/lib/usesthis/site.rb +++ b/lib/usesthis/site.rb @@ -29,7 +29,7 @@ def scan_files end %w[inspired personal].each do |type| - Dir.glob(File.join(@output_paths[:links], 'inspired', '*.yml')).each do |path| + Dir.glob(File.join(@output_paths[:links], type, '*.yml')).each do |path| self.send("#{type}_links") << UsesThis::Link.new(path) end end