2023-05-25 10:49:09 +02:00
|
|
|
const { DateTime } = require("luxon");
|
|
|
|
|
2022-06-22 11:50:54 +02:00
|
|
|
module.exports = function(eleventyConfig) {
|
2023-08-08 07:32:56 +02:00
|
|
|
eleventyConfig.addPassthroughCopy({ "static/.well-known": ".well-known" })
|
|
|
|
eleventyConfig.addPassthroughCopy({ "static/certificates": "certificates" })
|
|
|
|
eleventyConfig.addPassthroughCopy({ "static/css": "css" })
|
|
|
|
eleventyConfig.addPassthroughCopy({ "static/robots.txt": "robots.txt" })
|
2023-05-25 10:46:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
eleventyConfig.addFilter("timestamp", function(value) {
|
2023-06-27 18:41:33 +02:00
|
|
|
return DateTime.fromJSDate(value).toFormat('LLLL d, yyyy HH:mm ZZZZ')
|
2023-05-25 10:46:40 +02:00
|
|
|
});
|
|
|
|
|
2022-06-22 11:50:54 +02:00
|
|
|
return {
|
|
|
|
passthroughFileCopy: true
|
|
|
|
}
|
|
|
|
}
|