feat: view page layout (wip) + footer component + fixes
This commit is contained in:
@@ -270,6 +270,12 @@ module.exports = () => {
|
||||
confRaw = yaml.safeDump(conf)
|
||||
await fs.writeFileAsync(path.join(WIKI.ROOTPATH, 'config.yml'), confRaw)
|
||||
|
||||
// Create directory structure
|
||||
await fs.ensureDir(conf.paths.data)
|
||||
await fs.ensureDir(path.join(conf.paths.data, 'cache'))
|
||||
await fs.ensureDir(path.join(conf.paths.data, 'temp-upload'))
|
||||
await fs.ensureDir(conf.paths.content)
|
||||
|
||||
// Set config
|
||||
_.set(WIKI.config, 'defaultEditor', 'markdown')
|
||||
_.set(WIKI.config, 'graphEndpoint', 'https://graph.requarks.io')
|
||||
|
Reference in New Issue
Block a user