From 933d45cba300498926f85c1cc5c9eac521041cbe Mon Sep 17 00:00:00 2001 From: lauralani Date: Thu, 25 May 2023 10:46:40 +0200 Subject: [PATCH] update timestamp foo --- .eleventy.js | 6 ++++++ encryption.md | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index df95db4..b63d7b6 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -2,6 +2,12 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy({ "static/.well-known": ".well-known" }) eleventyConfig.addPassthroughCopy({ "static/certificates": "certificates" }) eleventyConfig.addPassthroughCopy({ "static/css": "css" }) + + + eleventyConfig.addFilter("timestamp", function(value) { + return DateTime.fromJSDate(value).toLocaleString(DateTime.DATETIME_FULL) + }); + return { passthroughFileCopy: true } diff --git a/encryption.md b/encryption.md index c0a2adc..f0da5c6 100644 --- a/encryption.md +++ b/encryption.md @@ -6,13 +6,13 @@ date: Last Modified --- # Lauras Encryption Keys -This page was last updated at {{ page.date }}. +This page was last updated at {{ page.date | timestamp }}. ## GPG Keys ### `mail@lauka.net` -Links: -- https://www.lauka.net/certificates/gpg/mail@lauka.net.asc -- https://keys.openpgp.org/vks/v1/by-fingerprint/AFB583D770414388D3C7D84E0BEBC883A64A806E +Links: [text link](https://duckduckgo.com) +- [https://www.lauka.net/certificates/gpg/mail@lauka.net.asc](https://www.lauka.net/certificates/gpg/mail@lauka.net.asc) +- [https://keys.openpgp.org/vks/v1/by-fingerprint/AFB583D770414388D3C7D84E0BEBC883A64A806E](https://keys.openpgp.org/vks/v1/by-fingerprint/AFB583D770414388D3C7D84E0BEBC883A64A806E) Fingerprint: `AFB5 83D7 7041 4388 D3C7 D84E 0BEB C883 A64A 806E` @@ -21,8 +21,8 @@ Fingerprint: `AFB5 83D7 7041 4388 D3C7 D84E 0BEB C883 A64A 806E` ### `laura@laurakalb.de` Links: -- https://www.lauka.net/certificates/gpg/laura@laurakalb.de.asc -- https://keys.openpgp.org/vks/v1/by-fingerprint/ABABDCBE322AD93D6F2577A45EEB5ED5B41E3C64 +- [https://www.lauka.net/certificates/gpg/laura@laurakalb.de.asc](https://www.lauka.net/certificates/gpg/laura@laurakalb.de.asc) +- [https://keys.openpgp.org/vks/v1/by-fingerprint/ABABDCBE322AD93D6F2577A45EEB5ED5B41E3C64](https://keys.openpgp.org/vks/v1/by-fingerprint/ABABDCBE322AD93D6F2577A45EEB5ED5B41E3C64) Fingerprint: `ABAB DCBE 322A D93D 6F25 77A4 5EEB 5ED5 B41E 3C64` @@ -32,7 +32,7 @@ Fingerprint: `ABAB DCBE 322A D93D 6F25 77A4 5EEB 5ED5 B41E 3C64` ### `mail@lauka.net` Links: -- https://www.lauka.net/certificates/smime/mail@lauka.net.crt +- [https://www.lauka.net/certificates/smime/mail@lauka.net.crt](https://www.lauka.net/certificates/smime/mail@lauka.net.crt) Fingerprint: - sha256 `80824F76FFC7C0A284E3D509C72D9FBCD15FD171BC9C2AFCCCBB202BF239A659` @@ -42,7 +42,7 @@ Fingerprint: ### `laura@laurakalb.de` Links: -- https://www.lauka.net/certificates/smime/laura@laurakalb.de.crt +- [https://www.lauka.net/certificates/smime/laura@laurakalb.de.crt](https://www.lauka.net/certificates/smime/laura@laurakalb.de.crt) Fingerprint: - sha256 `9D998F12F668D63E4CFBA2A97B241DD16019718E35CE1A84B6EE3DB4DCCE9947`