Update to support slideOptions in the YAML metadata

This commit is contained in:
Wu Cheng-Han 2016-08-01 00:08:22 +08:00
parent 7ea56c78a2
commit b367e110b6
4 changed files with 9 additions and 1 deletions

View file

@ -237,6 +237,8 @@ module.exports = function (sequelize, DataTypes) {
_meta.robots = meta.robots;
if (meta.GA && (typeof meta.GA == "string" || typeof meta.GA == "number"))
_meta.GA = meta.GA;
if (meta.slideOptions && (typeof meta.slideOptions == "object"))
_meta.slideOptions = meta.slideOptions;
}
return _meta;
}