lib/locomotive/steam/adapters/filesystem/yaml_loaders/site.rb in locomotivecms_steam-1.0.0 vs lib/locomotive/steam/adapters/filesystem/yaml_loaders/site.rb in locomotivecms_steam-1.0.1
- old
+ new
@@ -13,10 +13,18 @@
(attributes[:domains] ||= []).concat(%w(0.0.0.0 localhost))
attributes[:picture] = File.expand_path(File.join(site_path, 'icon.png'))
+ attributes[:metafields_schema] = load_metafields_schema
+
[attributes]
+ end
+
+ private
+
+ def load_metafields_schema
+ schema = _load(File.join(site_path, 'config', 'metafields_schema.yml'))
end
end
end