|
|
@@ -55,6 +55,11 @@ module.exports = function(crowi, app, req, locals) {
|
|
|
return Config.customCss();
|
|
|
}
|
|
|
|
|
|
+ locals.layoutType = function() {
|
|
|
+ var config = crowi.getConfig();
|
|
|
+ return config.crowi['customize:layout'] || 'crowi';
|
|
|
+ }
|
|
|
+
|
|
|
locals.slackConfigured = function() {
|
|
|
var config = crowi.getConfig()
|
|
|
if (Config.hasSlackToken(config)) {
|