Skip to content

Commit

Permalink
🌱 Add custom_message field
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Feb 19, 2024
1 parent 634a9a8 commit 6cf67d4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
2 changes: 1 addition & 1 deletion lib/jekyll/securitytxt/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Jekyll
module Securitytxt
VERSION = "1.0.0"
VERSION = "1.0.1"
end
end
3 changes: 3 additions & 0 deletions lib/jekyll/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}

0 comments on commit 6cf67d4

Please sign in to comment.