}
        s := &Site{}
        err := s.loadData([]source.Input{&source.InMemorySource{ByteSource: sources}})
-       if err == nil {
-               t.Fatalf("Should return an error")
+       if err != nil {
+               t.Fatalf("Should not return an error")
        }
 }
 
 
                                return fmt.Errorf("Failed to read data from %s: %s", filepath.Join(r.Path(), r.LogicalName()), err)
                        }
 
+                       if data == nil {
+                               continue
+                       }
+
                        // Copy content from current to data when needed
                        if _, ok := current[r.BaseFileName()]; ok {
                                data := data.(map[string]interface{})
        case "toml":
                return parser.HandleTOMLMetaData(f.Bytes())
        default:
-               return nil, fmt.Errorf("Data not supported for extension '%s'", f.Extension())
+               jww.WARN.Printf("Data not supported for extension '%s'", f.Extension())
+               return nil, nil
        }
 }