Files
moonweb-site/hub/eleventy.config.js
T
2026-08-15 09:56:55 +02:00

22 lines
779 B
JavaScript

module.exports = function (eleventyConfig) {
eleventyConfig.addGlobalData("site", { url: "https://hub.moonweb.org" });
eleventyConfig.addFilter("date", (d) => d.toISOString());
eleventyConfig.addPassthroughCopy({ "shared/theme-hub.css": "theme.css" });
eleventyConfig.addPassthroughCopy({ "shared/base.css": "shared-base.css" });
eleventyConfig.addPassthroughCopy({ "shared/favicon/hub.svg": "favicon.svg" });
eleventyConfig.addPassthroughCopy({ "hub/robots.txt": "robots.txt" });
eleventyConfig.addPassthroughCopy({ "hub/stefan-koelle-foto.jpg": "stefan-koelle-foto.jpg" });
return {
dir: {
input: "hub",
includes: "../shared/_includes",
output: "dist/hub"
},
serverOptions: {
host: "0.0.0.0",
port: 8081
}
};
};