diff options
Diffstat (limited to 'lib/models/note.js')
-rw-r--r-- | lib/models/note.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/models/note.js b/lib/models/note.js index 81013047..d1c073e9 100644 --- a/lib/models/note.js +++ b/lib/models/note.js @@ -241,6 +241,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.disqus && (typeof meta.disqus == "string" || typeof meta.disqus == "number")) + _meta.disqus = meta.disqus; if (meta.slideOptions && (typeof meta.slideOptions == "object")) _meta.slideOptions = meta.slideOptions; } |