From 6cf67d4bea2a92ca6c1dde2e62f797736e18dcfc Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Mon, 19 Feb 2024 23:52:04 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20Add=20custom=5Fmessage=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 +++++++++++++++++++++++++ lib/jekyll/securitytxt/version.rb | 2 +- lib/jekyll/template.html | 3 +++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b9ef56..79f943f 100644 --- a/README.md +++ b/README.md @@ -22,5 +22,30 @@ security_txt: preferred_languages: "ko, en" ``` +if you +```yaml +security_txt: + custom_message: | + # If you would like to report a security issue you may report it to us via bugbounty platform + Contact: https:// +``` + +## Supported + +```yaml +security_txt: + comment: + contact: + expires: + encryption: + preferred_languages: + acknowledgments: + policy: + hiring: + csaf: + canonical: + custom_message: +``` + > [!TIP] > See here for information on the column. https://securitytxt.org* \ No newline at end of file diff --git a/lib/jekyll/securitytxt/version.rb b/lib/jekyll/securitytxt/version.rb index 3290891..b17960b 100644 --- a/lib/jekyll/securitytxt/version.rb +++ b/lib/jekyll/securitytxt/version.rb @@ -2,6 +2,6 @@ module Jekyll module Securitytxt - VERSION = "1.0.0" + VERSION = "1.0.1" end end diff --git a/lib/jekyll/template.html b/lib/jekyll/template.html index f5e6d2d..d578047 100644 --- a/lib/jekyll/template.html +++ b/lib/jekyll/template.html @@ -28,3 +28,6 @@ {% if site.security_txt.canonical -%} Canonical: {{ site.security_txt.canonical }} {% endif -%} +{% if site.security_txt.custom_message -%} +{{ site.security_txt.custom_message }} +{% endif -%} \ No newline at end of file