mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-23 20:50:40 +01:00
test copyright year
This commit is contained in:
parent
89a9319cb7
commit
0da5a2e93c
2 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ module.exports = function(eleventyConfig) {
|
|||
return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL)
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter("copyrightyear", function() {
|
||||
eleventyConfig.addFilter("copyrightyear", function(value) {
|
||||
return DateTime.Now().toLocaleString({ year: 'numeric'})
|
||||
});
|
||||
|
||||
|
|
|
@ -103,8 +103,8 @@ date: Last Modified
|
|||
<br/><br/>
|
||||
This page makes due without any cookies, frontend javascript, tracking and databases
|
||||
in the effort to make the web quick and usable again :)
|
||||
<br/>This page was last updated at {{ page.date | timestamp }}
|
||||
<br/><br/>
|
||||
Copyright Laura Kalb {{ copyrightyear }}
|
||||
<br/><br/>This page was last updated at {{ page.date | timestamp }}
|
||||
<br/>
|
||||
Copyright Laura Kalb {{ date | copyrightyear }}
|
||||
<br/><br/><a href="/impressum.html">Impressum und Datenschutzerklärung</a>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue