mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Update to support slideOptions in the YAML metadata
This commit is contained in:
parent
7ea56c78a2
commit
b367e110b6
4 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue