diff options
author | Wu Cheng-Han | 2016-08-15 11:25:27 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-08-15 11:25:27 +0800 |
commit | a013c9d3bc0eb98c935e80bdb694c1a1cf7bd4c4 (patch) | |
tree | 5078a64286601b5b476f9613ecaee39e6837aa1d /lib/models | |
parent | e12fae699981762a69a72f6f164c0ec0254ddcf2 (diff) |
Update slide mode to show extra info and support url actions and support disqus via yaml-metadata
Diffstat (limited to 'lib/models')
-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; } |