- blogDirectory: internals.blogDirectory,
- postsDirectory: Getenv('BLOG_POSTS_DIRECTORY', Path.resolve(Path.join(internals.blogDirectory, 'posts'))),
- archiveDirectory: Getenv('BLOG_ARCHIVE_DIRECTORY', Path.resolve(Path.join(internals.blogDirectory, 'archive'))),
- staticDirectory: Getenv('BLOG_STATIC_DIRECTORY', Path.resolve(Path.join(__dirname, '../static'))),
- templatesDirectory: Getenv('BLOG_TEMPLATES_DIRECTORY', Path.resolve(Path.join(__dirname, '../templates'))),
- remoteConfig: Getenv('BLOG_REMOTE_CONFIG', Path.resolve(Path.join(__dirname, '../.blogremote'))),
+ 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'))