mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-23 20:50:40 +01:00
add last modified and copyright to page
This commit is contained in:
parent
ef747dd9c3
commit
89a9319cb7
2 changed files with 11 additions and 1 deletions
|
@ -10,6 +10,10 @@ module.exports = function(eleventyConfig) {
|
|||
return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL)
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter("copyrightyear", function() {
|
||||
return DateTime.Now().toLocaleString({ year: 'numeric'})
|
||||
});
|
||||
|
||||
return {
|
||||
passthroughFileCopy: true
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
layout: layouts/home.njk
|
||||
title: "lauka.net"
|
||||
eleventyExcludeFromCollections: true
|
||||
date: Last Modified
|
||||
---
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
|
@ -50,6 +51,9 @@ eleventyExcludeFromCollections: true
|
|||
that I already have worked on or that I want to work on in the future.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/interesting-stuff" target="_blank">A list of awesome projects curated by me!</a>
|
||||
</li>
|
||||
<li>building my own IPAM with <a href="https://go.dev/" target="_blank">Golang</a>.
|
||||
Source: <a href="https://codeberg.org/lauralani/ipam" target="_blank">https://codeberg.org/lauralani/ipam</a>
|
||||
(still in development, but has a lot of features already! :)
|
||||
|
@ -99,6 +103,8 @@ eleventyExcludeFromCollections: true
|
|||
<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/><a href="/impressum.html">Impressum und Datenschutzerklärung</a>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue