This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit f257b663c9555d4613fe9cf0832713a896bda23c Author: Zoran Regvart <[email protected]> AuthorDate: Thu Apr 28 14:08:58 2022 +0200 chore: add RFC8615 security content In accordance with https://www.rfc-editor.org/rfc/rfc9116. --- config.toml | 6 ++++++ content/misc/security.md | 9 +++++++++ layouts/security/single.txt | 5 +++++ 3 files changed, 20 insertions(+) diff --git a/config.toml b/config.toml index febe47bb..1780c360 100644 --- a/config.toml +++ b/config.toml @@ -110,3 +110,9 @@ defaultMarkdownHandler = "blackfriday" [privacy.youtube] privacyEnhanced = true + +[mediaTypes."text/plain"] + suffixes = ["txt"] +[outputFormats.TXT] + mediaType = "text/plain" + isPlainText = true diff --git a/content/misc/security.md b/content/misc/security.md new file mode 100644 index 00000000..dbea4826 --- /dev/null +++ b/content/misc/security.md @@ -0,0 +1,9 @@ +--- +type: security +url: /.well-known/security.txt +outputs: txt +canonical: https://camel.apache.com/.well-known/security.txt +contact: mailto:[email protected] +encryption: https://www.apache.org/security/KEYS.txt +policy: https://www.apache.org/security/ +--- diff --git a/layouts/security/single.txt b/layouts/security/single.txt new file mode 100644 index 00000000..80e5c6f1 --- /dev/null +++ b/layouts/security/single.txt @@ -0,0 +1,5 @@ +Canonical: {{ $.Params.canonical }} +Contact: {{ $.Params.contact }} +Encryption: {{ $.Params.encryption }} +Policy: {{ $.Params.policy }} +Expires: {{ now.UTC.AddDate 1 0 0 | time.Format "2006-01-02T15:04:05Z07:00" }}
