- postsDirectory: Getenv('BLOG_POSTS_DIRECTORY', Path.resolve(Path.join(__dirname, '../.posts'))),
- archiveDirectory: Getenv('BLOG_ARCHIVE_DIRECTORY', Path.resolve(Path.join(__dirname, '../.archive'))),
- staticDirectory: Getenv('BLOG_STATIC_DIRECTORY', Path.resolve(Path.join(__dirname, '../static'))),
- templatesDirectory: Getenv('BLOG_TEMPLATES_DIRECTORY', Path.resolve(Path.join(__dirname, '../templates')))
+ postsDirectory: resolve(join(internals.dataDirectory, 'posts')),
+ archiveDirectory: resolve(join(internals.dataDirectory, 'archive')),
+ staticDirectory: resolve(join(internals.dataDirectory, 'static')),
+ templatesDirectory: resolve(join(internals.dataDirectory, 'templates')),
+
+ remoteConfig: resolve(join(internals.configDirectory, 'blogremote')),
+
+ blogOutputDirectory: resolve(join(internals.outputDirectory, 'blog')),
+ archiveOutputDirectory: resolve(join(internals.outputDirectory, 'archive')),
+
+ // Internal config: This can't be modified.
+ defaultTemplatesDirectory: resolve(join(__dirname, '../templates'))