just set copyright date manually -.-

This commit is contained in:
Adora Laura Kalb 2023-06-04 20:40:47 +02:00
parent 5ba660d1eb
commit dcd102e50a
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
2 changed files with 1 additions and 3 deletions

View file

@ -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
}

View file

@ -105,5 +105,5 @@ date: Last Modified
in the effort to make the web quick and usable again :)
<br/><br/>This page was last updated at {{ page.date | timestamp }}
<br/><br/>
Copyright Laura Kalb {{ copyrightyear }} - <a href="/impressum.html">Impressum und Datenschutzerklärung</a>
Copyright Laura Kalb 2023 - <a href="/impressum.html">Impressum und Datenschutzerklärung</a>
</p>