This commit is contained in:
gbabelo
2025-01-16 12:37:59 +01:00
parent 9eab617bc1
commit 27567428c4
16 changed files with 358 additions and 336 deletions

View File

@@ -210,9 +210,9 @@ module.exports = function (config) {
config.addPassthroughCopy({ "src/static/": "/static/" });
// Output directory
var outputdir = "site";
if (process.env.ELEVENTY_ENVIRONMENT == "production") {
outputdir = "docs";
var outputdir = "docs";
if (process.env.ELEVENTY_ENVIRONMENT == "development") {
outputdir = "site";
}
config.addShortcode("year", () => `${new Date().getFullYear()}`);