jekyll-securitytxt 0.1.0.pre.pre.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -26
- data/lib/jekyll/securitytxt/version.rb +1 -1
- data/lib/jekyll/securitytxt.rb +1 -1
- data/lib/jekyll/template.html +20 -20
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b973627c263b9ed12363b1d064d6c184e46b3dc94d456ec927b68e60ce318ab
|
4
|
+
data.tar.gz: c1a1f05e08ef7cedc8d8453307094f2d09e4aa0b121c84546fd1b8e59b75b185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b68c514eaa9ab3a2b235533e4e78296489e9e7b7e62d3327f9fafd2bd8b7a351ea72df978f0de24b021e7a6f4713d5e416ab7f3ef635d40f3e83b95f55133f
|
7
|
+
data.tar.gz: 1d01487f23906e15eabc26052bda29f8528e5d8fa79c40fcafe441f2366896f7be2b14cee31b28738faf52df99e56cd0dfcade10086d95a259eac4eb584e9171
|
data/README.md
CHANGED
@@ -1,32 +1,22 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
TODO: Delete this and the text below, and describe your gem
|
4
|
-
|
5
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jekyll/securitytxt`. To experiment with that code, run `bin/console` for an interactive prompt.
|
1
|
+
# jekyll-securitytxt
|
6
2
|
|
7
3
|
## Installation
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
-
|
17
|
-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
4
|
+
```ruby
|
5
|
+
group :jekyll_plugins do
|
6
|
+
# ...
|
7
|
+
gem "jekyll-securitytxt"
|
8
|
+
end
|
9
|
+
```
|
18
10
|
|
19
11
|
## Usage
|
20
12
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
13
|
+
```yaml
|
14
|
+
# in _config.yml
|
15
|
+
security_txt:
|
16
|
+
comment: If you find any security issues on this site, please contact me!
|
17
|
+
contact: "mailto:<YOUR-EMAIL>"
|
18
|
+
preferred_languages: "ko, en"
|
19
|
+
```
|
26
20
|
|
27
|
-
|
28
|
-
|
29
|
-
## Contributing
|
30
|
-
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-securitytxt.
|
32
|
-
# jekyll-securitytxt
|
21
|
+
> [!TIP]
|
22
|
+
> See here for information on the column. https://securitytxt.org*
|
data/lib/jekyll/securitytxt.rb
CHANGED
data/lib/jekyll/template.html
CHANGED
@@ -1,30 +1,30 @@
|
|
1
|
-
{% if site.security_txt.comment
|
1
|
+
{% if site.security_txt.comment -%}
|
2
2
|
# {{ site.security_txt.comment }}
|
3
|
-
{% endif
|
4
|
-
{% if site.security_txt.contact
|
3
|
+
{% endif -%}
|
4
|
+
{% if site.security_txt.contact -%}
|
5
5
|
Contact: {{ site.security_txt.contact }}
|
6
|
-
{% endif
|
7
|
-
{% if site.security_txt.expires
|
6
|
+
{% endif -%}
|
7
|
+
{% if site.security_txt.expires -%}
|
8
8
|
Expires: {{ site.security_txt.expires }}
|
9
|
-
{% endif
|
10
|
-
{% if site.security_txt.encryption
|
9
|
+
{% endif -%}
|
10
|
+
{% if site.security_txt.encryption -%}
|
11
11
|
Encryption: {{ site.security_txt.encryption }}
|
12
|
-
{% endif
|
13
|
-
{% if site.security_txt.preferred_languages
|
12
|
+
{% endif -%}
|
13
|
+
{% if site.security_txt.preferred_languages -%}
|
14
14
|
Preferred-Languages: {{ site.security_txt.preferred_languages }}
|
15
|
-
{% endif
|
16
|
-
{% if site.security_txt.acknowledgments
|
15
|
+
{% endif -%}
|
16
|
+
{% if site.security_txt.acknowledgments -%}
|
17
17
|
Acknowledgments: {{ site.security_txt.acknowledgments }}
|
18
|
-
{% endif
|
19
|
-
{% if site.security_txt.policy
|
18
|
+
{% endif -%}
|
19
|
+
{% if site.security_txt.policy -%}
|
20
20
|
Policy: {{ site.security_txt.policy }}
|
21
|
-
{% endif
|
22
|
-
{% if site.security_txt.hiring
|
21
|
+
{% endif -%}
|
22
|
+
{% if site.security_txt.hiring -%}
|
23
23
|
Hiring: {{ site.security_txt.hiring }}
|
24
|
-
{% endif
|
25
|
-
{% if site.security_txt.csaf
|
24
|
+
{% endif -%}
|
25
|
+
{% if site.security_txt.csaf -%}
|
26
26
|
CSAF: {{ site.security_txt.csaf }}
|
27
|
-
{% endif
|
28
|
-
{% if site.security_txt.canonical
|
27
|
+
{% endif -%}
|
28
|
+
{% if site.security_txt.canonical -%}
|
29
29
|
Canonical: {{ site.security_txt.canonical }}
|
30
|
-
{% endif
|
30
|
+
{% endif -%}
|