mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-30 15:50:38 +01:00
17 lines
579 B
JavaScript
17 lines
579 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.addPassthroughCopy({ "static/fonts": "fonts" })
|
|
|
|
|
|
eleventyConfig.addFilter("timestamp", function(value) {
|
|
return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL)
|
|
});
|
|
|
|
return {
|
|
passthroughFileCopy: true
|
|
}
|
|
}
|