feat: theming resolvers + config fixes

This commit is contained in:
NGPixel
2018-06-10 23:23:09 -04:00
parent 1d2d1c66c1
commit 197b6b4160
15 changed files with 221 additions and 46 deletions

View File

@@ -111,7 +111,7 @@ module.exports = async () => {
app.locals.basedir = WIKI.ROOTPATH
app.locals._ = require('lodash')
app.locals.moment = require('moment')
app.locals.moment.locale(WIKI.config.site.lang)
app.locals.moment.locale(WIKI.config.lang.code)
app.locals.config = WIKI.config
// ----------------------------------------