jekyll-securitytxt 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19b2ae8b2d0e614e0a8de71daed37fbf2045a258030bc6ef48da08f19aa73c04
4
- data.tar.gz: 3c3bf295fcc71999ac6a1e20a192d87354441d76ab8c8e76337a5692d84ad784
3
+ metadata.gz: 6bf9a7a8e9e9da7610cf4042947f62bdfe74f4cf8d0346e4b32c2e6adef048a1
4
+ data.tar.gz: 004f60509c00a3a22c80a28636f0413b7034f2a45c7c2f91d511c3d1a7c01bc4
5
5
  SHA512:
6
- metadata.gz: 3b103c1689f8f96ba5eed716db80c6d46bb5ebee41e2e8b14304e7286a923ffee92543190fac7dd609d5c5919f68059e5b51b1046440633bea460ea9493ec68c
7
- data.tar.gz: 8853a84942ef6836d4d00e469f3c726c93f29a303696cab17455ce0b5c5ba87385db19b4d37e5db02a3ea978bef3d2d36a806e5711bd006e2b94f5ad29873307
6
+ metadata.gz: 4f0e1a912d63253b091fdcb7f6411ab2461eb6838be97cf17f218332be32c0a440e804eb03bfac2ef53bc44658f8faf697c0ef5ea31c749afe1be71635074c02
7
+ data.tar.gz: 85013374e4bf966f87642e2bcbe35160baa6cb161b44d601e317a70e1fc1669ca7cb1b84ddfafbfe0b350fc1e7326d1e0c387b8dbf67f7a9c2d69aaa74d8fccc
data/README.md CHANGED
@@ -18,15 +18,20 @@ end
18
18
  # in _config.yml
19
19
  security_txt:
20
20
  comment: If you find any security issues on this site, please contact me!
21
- contact: "mailto:<YOUR-EMAIL>"
21
+ contact:
22
+ - mailto:<YOUR-EMAIL>
23
+ - https://YOUR_DOMAIN/CONTACT
24
+ hiring:
25
+ - https://URL1
26
+ - https://URL2
22
27
  preferred_languages: "ko, en"
23
28
  ```
24
29
 
25
- if you
30
+ If you need a custom message?
26
31
  ```yaml
27
32
  security_txt:
28
33
  custom_message: |
29
- # If you would like to report a security issue you may report it to us via bugbounty platform
34
+ If you would like to report a security issue you may report it to us via bugbounty platform
30
35
  Contact: https://
31
36
  ```
32
37
 
@@ -48,4 +53,4 @@ security_txt:
48
53
  ```
49
54
 
50
55
  > [!TIP]
51
- > See here for information on the column. https://securitytxt.org*
56
+ > See here for information on the column. https://securitytxt.org*
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Securitytxt
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
@@ -2,25 +2,33 @@
2
2
  # {{ site.security_txt.comment }}
3
3
  {% endif -%}
4
4
  {% if site.security_txt.contact -%}
5
- Contact: {{ site.security_txt.contact }}
5
+ {% for contact in site.security_txt.contact %}
6
+ Contact: {{ contact }}
7
+ {% endfor %}
6
8
  {% endif -%}
7
9
  {% if site.security_txt.expires -%}
8
10
  Expires: {{ site.security_txt.expires }}
9
11
  {% endif -%}
10
12
  {% if site.security_txt.encryption -%}
11
- Encryption: {{ site.security_txt.encryption }}
13
+ {% for encryption in site.security_txt.encryption %}
14
+ Encryption: {{ encryption }}
15
+ {% endfor %}
12
16
  {% endif -%}
13
17
  {% if site.security_txt.preferred_languages -%}
14
18
  Preferred-Languages: {{ site.security_txt.preferred_languages }}
15
19
  {% endif -%}
16
20
  {% if site.security_txt.acknowledgments -%}
17
- Acknowledgments: {{ site.security_txt.acknowledgments }}
21
+ {% for acknowledgment in site.security_txt.acknowledgments %}
22
+ Acknowledgments: {{ acknowledgment }}
23
+ {% endfor %}
18
24
  {% endif -%}
19
25
  {% if site.security_txt.policy -%}
20
26
  Policy: {{ site.security_txt.policy }}
21
27
  {% endif -%}
22
28
  {% if site.security_txt.hiring -%}
23
- Hiring: {{ site.security_txt.hiring }}
29
+ {% for hiring in site. security_txt.hiring %}
30
+ Hiring: {{ hiring }}
31
+ {% endfor %}
24
32
  {% endif -%}
25
33
  {% if site.security_txt.csaf -%}
26
34
  CSAF: {{ site.security_txt.csaf }}
@@ -28,6 +36,8 @@ CSAF: {{ site.security_txt.csaf }}
28
36
  {% if site.security_txt.canonical -%}
29
37
  Canonical: {{ site.security_txt.canonical }}
30
38
  {% endif -%}
31
- {% if site.security_txt.custom_message -%}
32
- {{ site.security_txt.custom_message }}
39
+ {% if site.security_txt.custom_messages -%}
40
+ {% for custom_message in site.security_txt.custom_messages %}
41
+ {{ custom_message }}
42
+ {% endfor %}
33
43
  {% endif -%}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-securitytxt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HAHWUL
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-19 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll