www-lauka-net-11ty/.eleventy.js
2023-05-25 10:49:09 +02:00

16 lines
512 B
JavaScript

const { DateTime } = require("luxon");
module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy({ "static/.well-known": ".well-known" })
eleventyConfig.addPassthroughCopy({ "static/certificates": "certificates" })
eleventyConfig.addPassthroughCopy({ "static/css": "css" })
eleventyConfig.addFilter("timestamp", function(value) {
return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL)
});
return {
passthroughFileCopy: true
}
}