2013-05-11 20:44:25 +04:00
|
|
|
// # Ghost Configuration
|
|
|
|
|
|
|
|
/**
|
|
|
|
* global module
|
|
|
|
**/
|
|
|
|
(function () {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @module config
|
|
|
|
* @type {Object}
|
|
|
|
*/
|
|
|
|
var config = {};
|
|
|
|
|
|
|
|
// ## Admin settings
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {string} defaultLang
|
|
|
|
*/
|
|
|
|
config.defaultLang = 'en';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {boolean} forceI18n
|
|
|
|
*/
|
|
|
|
config.forceI18n = true;
|
|
|
|
|
|
|
|
// ## Themes
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {string} themeDir
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Themes
|
|
|
|
config.themeDir = 'themes';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {string} activeTheme
|
|
|
|
*/
|
|
|
|
config.activeTheme = 'casper';
|
|
|
|
|
|
|
|
// ## Homepage settings
|
|
|
|
/**
|
|
|
|
* @module homepage
|
|
|
|
* @type {Object}
|
|
|
|
*/
|
|
|
|
config.homepage = {};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {number} features
|
|
|
|
*/
|
|
|
|
config.homepage.features = 1;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {number} posts
|
|
|
|
*/
|
|
|
|
config.homepage.posts = 4;
|
|
|
|
|
2013-05-17 01:16:09 +04:00
|
|
|
config.database = {
|
|
|
|
development: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
|
|
|
filename: './core/shared/data/testdb.db'
|
2013-05-21 05:03:35 +04:00
|
|
|
},
|
|
|
|
debug: true
|
2013-05-17 01:16:09 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
staging: {},
|
|
|
|
|
|
|
|
production: {}
|
|
|
|
};
|
|
|
|
|
2013-05-11 20:44:25 +04:00
|
|
|
/**
|
|
|
|
* @property {Object} exports
|
|
|
|
*/
|
|
|
|
module.exports = config;
|
|
|
|
}());
|