From dcd102e50ad4149f117cda27344acd53ab1cc4e6 Mon Sep 17 00:00:00 2001 From: lauralani Date: Sun, 4 Jun 2023 20:40:47 +0200 Subject: [PATCH] just set copyright date manually -.- --- .eleventy.js | 2 -- index.njk | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index afd55c2..891d16b 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -10,8 +10,6 @@ module.exports = function(eleventyConfig) { return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL) }); - eleventyConfig.addShortcode("copyrightyear", () => `${new Date().getFullYear()}`); - return { passthroughFileCopy: true } diff --git a/index.njk b/index.njk index 8f1e35d..5142937 100644 --- a/index.njk +++ b/index.njk @@ -105,5 +105,5 @@ date: Last Modified in the effort to make the web quick and usable again :)

This page was last updated at {{ page.date | timestamp }}

- Copyright Laura Kalb {{ copyrightyear }} - Impressum und Datenschutzerklärung + Copyright Laura Kalb 2023 - Impressum und Datenschutzerklärung