diff options
author | Max Wu | 2017-06-03 12:51:03 +0800 |
---|---|---|
committer | GitHub | 2017-06-03 12:51:03 +0800 |
commit | 38cf2f75358dc21821f1dd87a5f7f0a53c75d122 (patch) | |
tree | e2cc672b9c15cfe36ffe3e0bec60a6f4b97794b6 /lib/response.js | |
parent | 6e119603aba3038aad7096aab96476eea7ae564b (diff) | |
parent | 0c827703c1cf24cd6a04b56dd25de483873fe0f3 (diff) |
Merge pull request #471 from butlerx/reveal/theme
add the ability to set slide theme in slide options
Diffstat (limited to '')
-rwxr-xr-x | lib/response.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/response.js b/lib/response.js index a9abd1d4..cda484e7 100755 --- a/lib/response.js +++ b/lib/response.js @@ -13,6 +13,7 @@ var moment = require('moment') var config = require('./config') var logger = require('./logger') var models = require('./models') +var utils = require('./utils') // public var response = { @@ -574,6 +575,7 @@ function showPublishSlide (req, res, next) { updatetime: updatetime, url: origin, body: markdown, + theme: utils.isRevealTheme(meta.slideOptions.theme), meta: JSON.stringify(extracted.meta), useCDN: config.usecdn, owner: note.owner ? note.owner.id : null, |