M content/blog/security-txt.md => content/blog/security-txt.md +3 -30
@@ 15,36 15,9 @@ the service as was planned beforehand).
The policy itself is pretty straightforward, and can be understood by everyone.
Here is mine, and as you will see it's quite self-explanatory:
-```
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-Contact: mailto:moritz@poldrack.dev
-Contact: mailto:~poldi1405/security@lists.sr.ht
-Expires: 2024-12-31T23:00:00.000Z
-Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/33D036967FCF0F711334B0796A88F42508AB4FC6
-Encryption: https://moritz.sh/pgp-key.txt
-Preferred-Languages: de, en
-Canonical: https://moritz.sh/.well-known/security.txt
-Canonical: https://git.sr.ht/~poldi1405/website/tree/master/item/static/.well-known/
-
------BEGIN PGP SIGNATURE-----
-
-iQIzBAEBCAAdFiEEM9A2ln/PD3ETNLB5aoj0JQirT8YFAmKweUAACgkQaoj0JQir
-T8ZWQBAAgOE24a+nC9GQ3LRol0Qf4FnTpWc2zXJPfTf4SWbUqiFSemr44r7aXneY
-BHq8vA7kos/v+kUHNNCE7KlxBBvuxRXwTF1EBAXZ0lfKiDE3S9jY3xiUUnYidmzB
-3X4cc7vrez1jCGyTGyP16sHOd7Zd6LHcCy0hwFmLQvNCzFXW7ELGxyApnGBAXeJQ
-m9HteMME0nhTdgUnPghGTdOcI1JPn9hPgVHXkMCeOkpH+uHYTXo+2hqYOzdd0Auf
-JwDi+lH6PNNjLyMCI5cbxVz2F4zEYJwPQdjeOzo5vbINy703M+B5sQ5luzJa1xDq
-9OWHdjq8R9mef/oNt9oTpMbFS8/t/RKK3cm2FBw2cTLicpRtpDMjHhiZmW9cBF5g
-ji/d8ZMnO2bfe+oD1yiZRZ/ULDV4Z7vsNT2b2XuZRvm+rYvBMTNMmDZOj+wEX+dI
-zIbaUBJpBgY4NINlmlIPG05kOv4MWkFDtg643+JNuWY1f1m4UnuqxInCNla/vnE2
-arIXLHtLZ1t5jZtFHx5ylXBbAykJaKMh+EpCYJSHM2WSyRsnp3FNq05P3FkdmHtI
-y+K3q6t5YvwupGlQ9wUgNbyKeoWt15Vjw5DCuh88ELf4rD3ronNWoMrkrwCpxDLI
-zv17s6VmPr4LgqiwLLSwr+xpP+u0U9WubqhInCa8YVyrWAAuDSs=
-=H7Du
------END PGP SIGNATURE-----
-```
+{{< highlight plaintext >}}
+{{% include "static/.well-known/security.txt" %}}
+{{< /highlight >}}
You can go ahead and generate your's right now [using this handy
generator](https://securitytxt.org/).
M static/.well-known/security.txt => static/.well-known/security.txt +6 -16
@@ 4,25 4,15 @@ Hash: SHA256
Contact: mailto:moritz@poldrack.dev
Contact: mailto:~poldi1405/security@lists.sr.ht
Expires: 2024-12-31T23:00:00.000Z
-Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/33D036967FCF0F711334B0796A88F42508AB4FC6
+Encryption: https://keys.openpgp.org/vks/v1/by-fingerprint/190A743436A77032B4E17C9F47DF8FD1598E633F
Encryption: https://moritz.sh/pgp-key.txt
Preferred-Languages: de, en
Canonical: https://moritz.sh/.well-known/security.txt
-Canonical: https://git.sr.ht/~poldi1405/website/tree/master/item/static/.well-known/
-
+Canonical: https://git.sr.ht/~poldi1405/website/tree/master/item/static/.well-known/security.txt
-----BEGIN PGP SIGNATURE-----
-iQIzBAEBCAAdFiEEM9A2ln/PD3ETNLB5aoj0JQirT8YFAmKweUAACgkQaoj0JQir
-T8ZWQBAAgOE24a+nC9GQ3LRol0Qf4FnTpWc2zXJPfTf4SWbUqiFSemr44r7aXneY
-BHq8vA7kos/v+kUHNNCE7KlxBBvuxRXwTF1EBAXZ0lfKiDE3S9jY3xiUUnYidmzB
-3X4cc7vrez1jCGyTGyP16sHOd7Zd6LHcCy0hwFmLQvNCzFXW7ELGxyApnGBAXeJQ
-m9HteMME0nhTdgUnPghGTdOcI1JPn9hPgVHXkMCeOkpH+uHYTXo+2hqYOzdd0Auf
-JwDi+lH6PNNjLyMCI5cbxVz2F4zEYJwPQdjeOzo5vbINy703M+B5sQ5luzJa1xDq
-9OWHdjq8R9mef/oNt9oTpMbFS8/t/RKK3cm2FBw2cTLicpRtpDMjHhiZmW9cBF5g
-ji/d8ZMnO2bfe+oD1yiZRZ/ULDV4Z7vsNT2b2XuZRvm+rYvBMTNMmDZOj+wEX+dI
-zIbaUBJpBgY4NINlmlIPG05kOv4MWkFDtg643+JNuWY1f1m4UnuqxInCNla/vnE2
-arIXLHtLZ1t5jZtFHx5ylXBbAykJaKMh+EpCYJSHM2WSyRsnp3FNq05P3FkdmHtI
-y+K3q6t5YvwupGlQ9wUgNbyKeoWt15Vjw5DCuh88ELf4rD3ronNWoMrkrwCpxDLI
-zv17s6VmPr4LgqiwLLSwr+xpP+u0U9WubqhInCa8YVyrWAAuDSs=
-=H7Du
+iHUEARYIAB0WIQTL+OUT8rbB/4DIG62EJtcJm4xt2gUCYwFOqQAKCRCEJtcJm4xt
+2gDtAQCILpZ7UumwbZYuJGEzdXCvax7Y5WKyDwloyob+rJ5u0gD/cY0fWu+QWwl6
+ISS0aH6uHlMVcYsn2W8t0YAAq6E8BQ0=
+=q+f3
-----END PGP SIGNATURE-----
A themes/hugo-98/layouts/shortcodes/include.html => themes/hugo-98/layouts/shortcodes/include.html +2 -0
@@ 0,0 1,2 @@
+{{ $file := .Get 0 }}
+{{ $file | readFile | safeHTML }}