Add config_display option to support regular and large renders (#310)
This commit is contained in:
@@ -51,9 +51,11 @@
|
||||
return await ejs.render(partial, data, { async: true, rmWhitespace: true })
|
||||
},
|
||||
//Meta-data
|
||||
meta: { version: set.version, author: "lowlighter" },
|
||||
meta: { version: set.version, author: "lowlighter", generated:new Date().toGMTString().replace(/GMT$/g, "").trim() },
|
||||
//Animated
|
||||
animated: false,
|
||||
//Display size
|
||||
large: set.config.display === "large",
|
||||
//Config
|
||||
config: set.config,
|
||||
//Base elements
|
||||
|
||||
Reference in New Issue
Block a user