From b367e110b639ab707e848d1d6de70bb094cd0edd Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 1 Aug 2016 00:08:22 +0800 Subject: Update to support slideOptions in the YAML metadata --- lib/models/note.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/models') diff --git a/lib/models/note.js b/lib/models/note.js index 5ee5c7de..05babb42 100644 --- a/lib/models/note.js +++ b/lib/models/note.js @@ -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; } -- cgit v1.2.3