mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Compare commits
401 Commits
docs/redes
...
ruby-proxy
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd10b0ce76 | ||
|
|
a87ca206da | ||
|
|
07270c7cfd | ||
|
|
532c499751 | ||
|
|
b55927e8f7 | ||
|
|
4eec5a55c3 | ||
|
|
f3a03a14cd | ||
|
|
0f4b7be88d | ||
|
|
1795996458 | ||
|
|
882279c307 | ||
|
|
384a874805 | ||
|
|
5157bdc753 | ||
|
|
8d5b5fa4dc | ||
|
|
7096885e98 | ||
|
|
854e83230e | ||
|
|
ffe8d168f2 | ||
|
|
4c9cbad677 | ||
|
|
135ebe2660 | ||
|
|
77b6033f2f | ||
|
|
fea0b69d39 | ||
|
|
f7f5cbc6f8 | ||
|
|
5bc21d82f6 | ||
|
|
f42e0e7169 | ||
|
|
7c34db3991 | ||
|
|
b7e3f10a08 | ||
|
|
fcb8a1ecd3 | ||
|
|
e318d1c836 | ||
|
|
874bd2e5c7 | ||
|
|
5b195ffe74 | ||
|
|
03b500b7b7 | ||
|
|
ed8681b1e7 | ||
|
|
ebe62e8a28 | ||
|
|
6435bd6167 | ||
|
|
24f1978412 | ||
|
|
2265e82181 | ||
|
|
8abd4950a2 | ||
|
|
7dbe470dce | ||
|
|
3e8e6d22d7 | ||
|
|
c87f5fa7fa | ||
|
|
c76996cd8e | ||
|
|
4530721575 | ||
|
|
62959527dd | ||
|
|
52374cf8be | ||
|
|
27aa53cf82 | ||
|
|
7d340d933a | ||
|
|
e10a90987a | ||
|
|
25b274621b | ||
|
|
68a31c8eb2 | ||
|
|
9ccdae161b | ||
|
|
06eafadcbb | ||
|
|
e37ee47219 | ||
|
|
52ae35a589 | ||
|
|
25898f8d9d | ||
|
|
cca639dcc3 | ||
|
|
7f1b678a4e | ||
|
|
f0b7c9b783 | ||
|
|
478e3ab301 | ||
|
|
a4f24f54ad | ||
|
|
70bc82bacc | ||
|
|
1480c41213 | ||
|
|
2df56abf85 | ||
|
|
f56b7d59e6 | ||
|
|
119e0047e8 | ||
|
|
58bc689829 | ||
|
|
38bc4d2818 | ||
|
|
3002aa58f5 | ||
|
|
49e5b33fb0 | ||
|
|
13d31c4c8b | ||
|
|
e05745929f | ||
|
|
04ba0c3b10 | ||
|
|
c914e8628b | ||
|
|
86fd200a68 | ||
|
|
56c39e76d2 | ||
|
|
2f791484ab | ||
|
|
db3570e582 | ||
|
|
554e07d4a5 | ||
|
|
263d41f0f7 | ||
|
|
c2a383ba43 | ||
|
|
276e71fb80 | ||
|
|
641eb4e9e7 | ||
|
|
4a7c5177c7 | ||
|
|
390973683f | ||
|
|
c004281d86 | ||
|
|
03ce3f8a45 | ||
|
|
ac02b11fd2 | ||
|
|
c6566b2410 | ||
|
|
08b04aa337 | ||
|
|
818441c8d9 | ||
|
|
b3770fd45d | ||
|
|
98ae88f3fd | ||
|
|
617dc69879 | ||
|
|
079b7231d9 | ||
|
|
9957e21be7 | ||
|
|
ed385ba264 | ||
|
|
2d3c030fac | ||
|
|
49ffbbd4c7 | ||
|
|
db2de73a0d | ||
|
|
7548132944 | ||
|
|
7cdbbaafa7 | ||
|
|
cbfdeaefcd | ||
|
|
1658a1596e | ||
|
|
af055b917c | ||
|
|
a430c22007 | ||
|
|
20c9d0957a | ||
|
|
8c5ee73661 | ||
|
|
c47611cb6e | ||
|
|
d6a756ba27 | ||
|
|
ec347597da | ||
|
|
f99f910e29 | ||
|
|
c763460943 | ||
|
|
12c074303e | ||
|
|
965aef60e6 | ||
|
|
6a604daa5a | ||
|
|
bc54047315 | ||
|
|
551014eb05 | ||
|
|
dc265abf9f | ||
|
|
a62ed45588 | ||
|
|
4dff839dbf | ||
|
|
98c5f47401 | ||
|
|
aa87361848 | ||
|
|
72c712ef9e | ||
|
|
fd74fe3e93 | ||
|
|
85bddfda21 | ||
|
|
8673cdc4cf | ||
|
|
1b4340034b | ||
|
|
1bba76b4f5 | ||
|
|
b04e3d3de7 | ||
|
|
568e50b37a | ||
|
|
3e8c37b641 | ||
|
|
17a5f815b5 | ||
|
|
14e5d00555 | ||
|
|
1b2efb67c3 | ||
|
|
a5cac26766 | ||
|
|
ced4404a5e | ||
|
|
c8fe609f8f | ||
|
|
f4ee82650e | ||
|
|
36d3aed1f2 | ||
|
|
a882608902 | ||
|
|
8e7b2ff7da | ||
|
|
6c872cf6a1 | ||
|
|
ef588d6bc8 | ||
|
|
ec0971ab17 | ||
|
|
3cce93d9b8 | ||
|
|
1bd1ae98e9 | ||
|
|
983e5af661 | ||
|
|
6838153b83 | ||
|
|
8907f39548 | ||
|
|
d6ece561b7 | ||
|
|
c68ccedc21 | ||
|
|
d0beaab6fe | ||
|
|
3b675f5119 | ||
|
|
7440050367 | ||
|
|
4f8e1f3d3f | ||
|
|
0ff03dba6c | ||
|
|
41583c9405 | ||
|
|
31529906da | ||
|
|
b09248ce2e | ||
|
|
2591f33aa8 | ||
|
|
c985dc5899 | ||
|
|
e3b284b757 | ||
|
|
9e42fad62f | ||
|
|
2090989fb3 | ||
|
|
dea6bdbfaf | ||
|
|
9240addcf0 | ||
|
|
16c24d9125 | ||
|
|
0da5389cbb | ||
|
|
6905c80470 | ||
|
|
09b110d453 | ||
|
|
1041f7672f | ||
|
|
6dcce995a6 | ||
|
|
378147d761 | ||
|
|
f3cb41b65a | ||
|
|
9e137bae29 | ||
|
|
3e2c8fd4c8 | ||
|
|
8552471712 | ||
|
|
e522f54e53 | ||
|
|
26b7d6a94d | ||
|
|
9d0c73fce8 | ||
|
|
7eefadb135 | ||
|
|
1e970b598d | ||
|
|
cc7978f3bc | ||
|
|
5bc0ddd6d2 | ||
|
|
238f1c5eaf | ||
|
|
b71dffc305 | ||
|
|
2bdf1a53c4 | ||
|
|
757f47b21c | ||
|
|
5fa01141cc | ||
|
|
226fa22652 | ||
|
|
555722887d | ||
|
|
ec730657a7 | ||
|
|
57a29800b6 | ||
|
|
5b86a636b5 | ||
|
|
18f7a28168 | ||
|
|
7f2412c145 | ||
|
|
575f4b66de | ||
|
|
9ba6c7dd77 | ||
|
|
5942ee46ae | ||
|
|
4279bafff3 | ||
|
|
907477b9ca | ||
|
|
e451acca6a | ||
|
|
da313bf883 | ||
|
|
9b3e5f9fc0 | ||
|
|
8ccb013f85 | ||
|
|
67107f0ec5 | ||
|
|
7ddaa9ffa1 | ||
|
|
3c231a41d2 | ||
|
|
3b4151b773 | ||
|
|
d4b5760002 | ||
|
|
b4dcdd42f8 | ||
|
|
46be718ef6 | ||
|
|
36404b9a43 | ||
|
|
d807deb647 | ||
|
|
aea502745a | ||
|
|
475983537d | ||
|
|
b668eb0150 | ||
|
|
bdbf35136e | ||
|
|
7889d7d215 | ||
|
|
37f5e5f459 | ||
|
|
12e7a35ea7 | ||
|
|
5fa93015a6 | ||
|
|
3036d36a7c | ||
|
|
9c11c9a8a7 | ||
|
|
7f4b15194f | ||
|
|
633a2922d6 | ||
|
|
68e633a56e | ||
|
|
5e7dc7b4d3 | ||
|
|
9f7078d582 | ||
|
|
d8c745ca30 | ||
|
|
7ee2e26d6c | ||
|
|
13cbef4221 | ||
|
|
4e24a460ae | ||
|
|
63b3739062 | ||
|
|
25ad937597 | ||
|
|
b975608cbb | ||
|
|
2f94540f89 | ||
|
|
51d1366902 | ||
|
|
2786d67be5 | ||
|
|
0fef05e161 | ||
|
|
c36f248556 | ||
|
|
bbc2e1469e | ||
|
|
091b5bd697 | ||
|
|
fac57981d3 | ||
|
|
6df8808cbc | ||
|
|
8319501415 | ||
|
|
98dc27b0ab | ||
|
|
33a55d7f65 | ||
|
|
9f46819606 | ||
|
|
d2adfb3cbb | ||
|
|
dedfb0748f | ||
|
|
996431ba60 | ||
|
|
07bf5be7b4 | ||
|
|
f6527cd7ef | ||
|
|
9ee96562dd | ||
|
|
403f526275 | ||
|
|
8d7ef662bc | ||
|
|
cc409d33f7 | ||
|
|
925aa33ddc | ||
|
|
f1777adae9 | ||
|
|
55f0980716 | ||
|
|
06c49c7af6 | ||
|
|
9cb27144b0 | ||
|
|
65817cc6cb | ||
|
|
f6e7c46dd1 | ||
|
|
e3a51092dd | ||
|
|
623e306fd6 | ||
|
|
b8886e4287 | ||
|
|
2903276b4e | ||
|
|
9a4b74c44b | ||
|
|
20d9cbe231 | ||
|
|
349b0361c1 | ||
|
|
bbd635539d | ||
|
|
13b0832459 | ||
|
|
8597a581d7 | ||
|
|
fb22130906 | ||
|
|
1ceef6dcf7 | ||
|
|
9412171578 | ||
|
|
317ed856ff | ||
|
|
e819bc4af0 | ||
|
|
4550f02b58 | ||
|
|
52faf2c34c | ||
|
|
e1ef5f9229 | ||
|
|
1df4e94989 | ||
|
|
922e4c01fe | ||
|
|
fd302cb1f7 | ||
|
|
33680b67af | ||
|
|
2de291c297 | ||
|
|
38b64fc9e9 | ||
|
|
79b7b9ac02 | ||
|
|
1a01f95a12 | ||
|
|
0e761fd4ef | ||
|
|
aef5626b4d | ||
|
|
70fe95c439 | ||
|
|
ce0471fbec | ||
|
|
6dbaf59ac9 | ||
|
|
58076c4ff9 | ||
|
|
b02caf0731 | ||
|
|
ae0a064f3f | ||
|
|
500dd64316 | ||
|
|
d87ee5af03 | ||
|
|
ddbf730865 | ||
|
|
80104c177a | ||
|
|
5c16257947 | ||
|
|
52aa62b0ae | ||
|
|
e87f41834f | ||
|
|
1a718e9b12 | ||
|
|
fc51c32337 | ||
|
|
ea7d107b5c | ||
|
|
88d63c9303 | ||
|
|
f539f4d075 | ||
|
|
ced0d8a6ba | ||
|
|
831fba68be | ||
|
|
5d144beb00 | ||
|
|
be78b4246c | ||
|
|
9a0153f4d2 | ||
|
|
9fa6863794 | ||
|
|
84c46eb680 | ||
|
|
eaa75dfc40 | ||
|
|
d13ad84aa7 | ||
|
|
3eb9b441c5 | ||
|
|
dee01f671a | ||
|
|
f721386419 | ||
|
|
8fd432c10a | ||
|
|
878e0ba29c | ||
|
|
57a05bf948 | ||
|
|
c368fec322 | ||
|
|
8c0a250da4 | ||
|
|
f8037c6699 | ||
|
|
6f984b381c | ||
|
|
18fb5687f4 | ||
|
|
0f5697c4ea | ||
|
|
446aa88bdf | ||
|
|
9882ca238d | ||
|
|
1a7b55e6dd | ||
|
|
e41c42720a | ||
|
|
9221e3429d | ||
|
|
8741c69d42 | ||
|
|
55bd0391da | ||
|
|
7498d4144e | ||
|
|
a93dd0fa64 | ||
|
|
12f66076ba | ||
|
|
6cb97771b7 | ||
|
|
1d8b038edd | ||
|
|
775153df6a | ||
|
|
92be0c3fab | ||
|
|
03b51791c1 | ||
|
|
fe97682e3b | ||
|
|
8ac16a281c | ||
|
|
eac18f88f5 | ||
|
|
dc549a769f | ||
|
|
0f9467c61b | ||
|
|
d257398333 | ||
|
|
eda9e2e4ef | ||
|
|
5b3eb43e08 | ||
|
|
9ae8c09c1b | ||
|
|
cfa022db1d | ||
|
|
c704d36b39 | ||
|
|
2f36fd7fff | ||
|
|
970c1dde5c | ||
|
|
24fa104567 | ||
|
|
6285f59ce3 | ||
|
|
646b24d9ba | ||
|
|
a0f7d800d6 | ||
|
|
e4677b8567 | ||
|
|
78ea59f5a7 | ||
|
|
48b6e743f1 | ||
|
|
d808359186 | ||
|
|
fa914d2dd8 | ||
|
|
c8bd59b69e | ||
|
|
62448192df | ||
|
|
cd200d380f | ||
|
|
842c055ecb | ||
|
|
c732da44d5 | ||
|
|
470ef47abc | ||
|
|
6431637fd7 | ||
|
|
6c5bb7cce1 | ||
|
|
b26ad019c3 | ||
|
|
bfc733da90 | ||
|
|
41b8192b07 | ||
|
|
ba2019dca9 | ||
|
|
e397146acb | ||
|
|
d0753ecd82 | ||
|
|
7184404c74 | ||
|
|
26608929dc | ||
|
|
cb245a7e30 | ||
|
|
7c1f065a41 | ||
|
|
a642f31144 | ||
|
|
c65b08aef3 | ||
|
|
677aa49aa2 | ||
|
|
39a240a8af | ||
|
|
fdce19e966 | ||
|
|
fb0f182a5d | ||
|
|
2acff4a5bf | ||
|
|
84cb2cb06d | ||
|
|
fc60ecce2d | ||
|
|
68b8565c94 | ||
|
|
4da289e22d | ||
|
|
1cc84d8d7b | ||
|
|
7d76d5e48e | ||
|
|
9a66a1614e | ||
|
|
afd0a6ff69 | ||
|
|
e3f9c452b6 |
@@ -1,36 +1,53 @@
|
||||
engines:
|
||||
version: "2"
|
||||
checks:
|
||||
argument-count:
|
||||
enabled: true
|
||||
config:
|
||||
threshold: 5
|
||||
file-lines:
|
||||
enabled: true
|
||||
config:
|
||||
threshold: 300
|
||||
method-complexity:
|
||||
enabled: true
|
||||
config:
|
||||
threshold: 15
|
||||
method-count:
|
||||
enabled: true
|
||||
config:
|
||||
threshold: 50
|
||||
method-lines:
|
||||
enabled: true
|
||||
config:
|
||||
threshold: 30
|
||||
plugins:
|
||||
fixme:
|
||||
enabled: false
|
||||
rubocop:
|
||||
enabled: true
|
||||
channel: rubocop-0-54
|
||||
channel: rubocop-0-60
|
||||
|
||||
exclude_paths:
|
||||
- .codeclimate.yml
|
||||
- .gitignore
|
||||
- .rspec
|
||||
- .rubocop.yml
|
||||
- .travis.yml
|
||||
exclude_patterns:
|
||||
- "*.*"
|
||||
- ".*"
|
||||
|
||||
- Gemfile.lock
|
||||
- CHANGELOG.{md,markdown,txt,textile}
|
||||
- CONTRIBUTING.{md,markdown,txt,textile}
|
||||
- readme.{md,markdown,txt,textile}
|
||||
- README.{md,markdown,txt,textile}
|
||||
- Readme.{md,markdown,txt,textile}
|
||||
- ReadMe.{md,markdown,txt,textile}
|
||||
- COPYING
|
||||
- Gemfile
|
||||
- LICENSE
|
||||
- Rakefile
|
||||
|
||||
- features/**/*
|
||||
- script/**/*
|
||||
- docs/**/*
|
||||
- spec/**/*
|
||||
- test/**/*
|
||||
- vendor/**/*
|
||||
- benchmark/
|
||||
- docs/
|
||||
- exe/
|
||||
- features/
|
||||
- rake/
|
||||
- rubocop/
|
||||
- script/
|
||||
- spec/
|
||||
- test/
|
||||
- vendor/
|
||||
|
||||
- lib/blank_template/
|
||||
- lib/site_template/
|
||||
- lib/theme_template/
|
||||
- lib/jekyll/mime.types
|
||||
- lib/jekyll/commands/serve/livereload_assets/livereload.js
|
||||
|
||||
ratings:
|
||||
paths:
|
||||
- lib/**/*.rb
|
||||
|
||||
14
.github/CONTRIBUTING.markdown
vendored
14
.github/CONTRIBUTING.markdown
vendored
@@ -4,7 +4,7 @@ Hi there! Interested in contributing to Jekyll? We'd love your help. Jekyll is a
|
||||
|
||||
## Where to get help or report a problem
|
||||
|
||||
See [the support guidelines](https://jekyllrb.com/docs/support/)
|
||||
See the [support guidelines](https://jekyllrb.com/docs/support/)
|
||||
|
||||
## Ways to contribute
|
||||
|
||||
@@ -12,9 +12,9 @@ Whether you're a developer, a designer, or just a Jekyll devotee, there are lots
|
||||
|
||||
* [Install Jekyll on your computer](https://jekyllrb.com/docs/installation/) and kick the tires. Does it work? Does it do what you'd expect? If not, [open an issue](https://github.com/jekyll/jekyll/issues/new) and let us know.
|
||||
* Comment on some of the project's [open issues](https://github.com/jekyll/jekyll/issues). Have you experienced the same problem? Know a work around? Do you have a suggestion for how the feature could be better?
|
||||
* Read through [the documentation](https://jekyllrb.com/docs/home/), and click the "improve this page" button, any time you see something confusing, or have a suggestion for something that could be improved.
|
||||
* Browse through [the Jekyll discussion forum](https://talk.jekyllrb.com/), and lend a hand answering questions. There's a good chance you've already experienced what another user is experiencing.
|
||||
* Find [an open issue](https://github.com/jekyll/jekyll/issues) (especially [those labeled `help-wanted`](https://github.com/jekyll/jekyll/issues?q=is%3Aopen+is%3Aissue+label%3Ahelp-wanted)), and submit a proposed fix. If it's your first pull request, we promise we won't bite, and are glad to answer any questions.
|
||||
* Read through the [documentation](https://jekyllrb.com/docs/home/), and click the "improve this page" button, any time you see something confusing, or have a suggestion for something that could be improved.
|
||||
* Browse through the [Jekyll discussion forum](https://talk.jekyllrb.com/), and lend a hand answering questions. There's a good chance you've already experienced what another user is experiencing.
|
||||
* Find an [open issue](https://github.com/jekyll/jekyll/issues) (especially [those labeled `help-wanted`](https://github.com/jekyll/jekyll/issues?q=is%3Aopen+is%3Aissue+label%3Ahelp-wanted)), and submit a proposed fix. If it's your first pull request, we promise we won't bite, and are glad to answer any questions.
|
||||
* Help evaluate [open pull requests](https://github.com/jekyll/jekyll/pulls), by testing the changes locally and reviewing what's proposed.
|
||||
|
||||
## Submitting a pull request
|
||||
@@ -49,7 +49,7 @@ That's it! You'll be automatically subscribed to receive updates as others revie
|
||||
2. Clone the repository locally `git clone https://github.com/<you-username>/jekyll`.
|
||||
3. Create a new, descriptively named branch to contain your change ( `git checkout -b my-awesome-feature` ).
|
||||
4. Hack away, add tests. Not necessarily in that order.
|
||||
5. Make sure everything still passes by running `script/cibuild` (see [the tests section](#running-tests-locally) below)
|
||||
5. Make sure everything still passes by running `script/cibuild` (see the [tests section](#running-tests-locally) below)
|
||||
6. Push the branch up ( `git push origin my-awesome-feature` ).
|
||||
7. Create a pull request by visiting `https://github.com/<your-username>/jekyll` and following the instructions at the top of the screen.
|
||||
|
||||
@@ -89,7 +89,7 @@ If you want to add your plugin to the [list of plugins](https://jekyllrb.com/doc
|
||||
|
||||
## Code Contributions
|
||||
|
||||
Interesting in submitting a pull request? Awesome. Read on. There's a few common gotchas that we'd love to help you avoid.
|
||||
Interested in submitting a pull request? Awesome. Read on. There's a few common gotchas that we'd love to help you avoid.
|
||||
|
||||
### Tests and documentation
|
||||
|
||||
@@ -115,6 +115,8 @@ If your contribution changes any Jekyll behavior, make sure to update the docume
|
||||
Jekyll's methods. It also provides you with helpful methods to quickly create a
|
||||
site or configuration. [Feel free to check it out!](https://github.com/jekyll/jekyll/blob/master/script/console)
|
||||
|
||||
* Previously, we've used the WIP Probot app to help contributors determine whether their pull request is ready for review. Please use a [draft pull request](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests) instead. When you're ready, [mark the pull request as ready for review](https://help.github.com/en/articles/changing-the-stage-of-a-pull-request)
|
||||
|
||||
## Running tests locally
|
||||
|
||||
### Test Dependencies
|
||||
|
||||
5
.github/FUNDING.yml
vendored
Normal file
5
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [ashmaroli, DirtyF, mattr-]
|
||||
open_collective: jekyll
|
||||
tidelift: rubygems/jekyll
|
||||
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,6 +1,10 @@
|
||||
---
|
||||
name: Bug Report
|
||||
about: Is something not working as expected?
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
|
||||
4
.github/ISSUE_TEMPLATE/documentation.md
vendored
4
.github/ISSUE_TEMPLATE/documentation.md
vendored
@@ -1,6 +1,10 @@
|
||||
---
|
||||
name: Documentation
|
||||
about: Found a typo or something that isn't crystal clear in our docs?
|
||||
title: 'docs: '
|
||||
labels: documentation
|
||||
assignees: DirtyF
|
||||
|
||||
---
|
||||
|
||||
<!-- Thanks for taking the time to open an issue and help us make Jekyll better! -->
|
||||
|
||||
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -1,6 +1,10 @@
|
||||
---
|
||||
name: Feature Request
|
||||
about: Want us to add any features to Jekyll?
|
||||
title: 'feat: '
|
||||
labels: feature
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
|
||||
4
.github/ISSUE_TEMPLATE/question.md
vendored
4
.github/ISSUE_TEMPLATE/question.md
vendored
@@ -1,6 +1,10 @@
|
||||
---
|
||||
name: Question
|
||||
about: Have any questions about how Jekyll works?
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
|
||||
14
.github/PULL_REQUEST_TEMPLATE.md
vendored
14
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -20,7 +20,7 @@
|
||||
|
||||
- I've added tests (if it's a bug, feature or enhancement)
|
||||
- I've adjusted the documentation (if it's a feature or enhancement)
|
||||
- The test suite passes (run `script/cibuild` to verify this)
|
||||
- The test suite passes locally (run `script/cibuild` to verify this)
|
||||
-->
|
||||
|
||||
## Summary
|
||||
@@ -33,11 +33,13 @@
|
||||
|
||||
<!--
|
||||
Is this related to any GitHub issue(s)?
|
||||
-->
|
||||
|
||||
## Semver Changes
|
||||
You can use keywords to automatically close the related issue.
|
||||
For example, (all of) the following will close issue #4567 when your PR is merged.
|
||||
|
||||
<!--
|
||||
Which semantic version change would you recommend?
|
||||
If you don't know, feel free to omit it.
|
||||
Closes #4567
|
||||
Fixes #4567
|
||||
Resolves #4567
|
||||
|
||||
Use any one of the above as applicable.
|
||||
-->
|
||||
|
||||
15
.github/config.yml
vendored
Normal file
15
.github/config.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
updateDocsComment: >
|
||||
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.
|
||||
|
||||
updateDocsWhiteList:
|
||||
- bug
|
||||
- fix
|
||||
- Backport
|
||||
- dev
|
||||
- Update
|
||||
- WIP
|
||||
- chore
|
||||
|
||||
updateDocsTargetFiles:
|
||||
- README
|
||||
- docs/
|
||||
10
.rubocop.yml
10
.rubocop.yml
@@ -1,6 +1,7 @@
|
||||
---
|
||||
|
||||
require:
|
||||
- rubocop-performance
|
||||
- ./rubocop/jekyll
|
||||
|
||||
Jekyll/NoPutsAllowed:
|
||||
@@ -8,7 +9,7 @@ Jekyll/NoPutsAllowed:
|
||||
- rake/*.rake
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.3
|
||||
TargetRubyVersion: 2.4
|
||||
Include:
|
||||
- lib/**/*.rb
|
||||
- test/**/*.rb
|
||||
@@ -23,9 +24,9 @@ Layout/AlignHash:
|
||||
EnforcedHashRocketStyle: table
|
||||
Layout/IndentationWidth:
|
||||
Severity: error
|
||||
Layout/IndentArray:
|
||||
Layout/IndentFirstArrayElement:
|
||||
EnforcedStyle: consistent
|
||||
Layout/IndentHash:
|
||||
Layout/IndentFirstHashElement:
|
||||
EnforcedStyle: consistent
|
||||
Layout/MultilineMethodCallIndentation:
|
||||
EnforcedStyle: indented
|
||||
@@ -92,9 +93,6 @@ Naming/MemoizedInstanceVariableName:
|
||||
- lib/jekyll/drops/site_drop.rb
|
||||
- lib/jekyll/drops/unified_payload_drop.rb
|
||||
- lib/jekyll/page_without_a_file.rb
|
||||
Naming/UncommunicativeMethodParamName:
|
||||
AllowedNames:
|
||||
- _
|
||||
Security/MarshalLoad:
|
||||
Exclude:
|
||||
- !ruby/regexp /test\/.*.rb$/
|
||||
|
||||
44
.travis.yml
44
.travis.yml
@@ -1,14 +1,12 @@
|
||||
bundler_args: --without benchmark:site:development
|
||||
bundler_args: --without benchmark:development
|
||||
script: script/cibuild
|
||||
cache: bundler
|
||||
language: ruby
|
||||
sudo: false
|
||||
|
||||
rvm:
|
||||
- &ruby1 2.5.1
|
||||
- &ruby2 2.4.4
|
||||
- &ruby3 2.3.7
|
||||
- &jruby jruby-9.1.16.0
|
||||
- &ruby1 2.6.0
|
||||
- &ruby2 2.4.5
|
||||
- &jruby jruby-9.2.7.0
|
||||
|
||||
matrix:
|
||||
include:
|
||||
@@ -18,6 +16,12 @@ matrix:
|
||||
- rvm: *ruby1
|
||||
env: TEST_SUITE=default-site
|
||||
name: "🏠️ Default Site"
|
||||
- rvm: *ruby1
|
||||
env: TEST_SUITE=profile-docs
|
||||
name: "Profile Docs"
|
||||
- rvm: *ruby1
|
||||
env: TEST_SUITE=memprof
|
||||
name: "Profile Memory Allocation"
|
||||
exclude:
|
||||
- rvm: *jruby
|
||||
env: TEST_SUITE=cucumber
|
||||
@@ -30,10 +34,18 @@ branches:
|
||||
only:
|
||||
- master
|
||||
- themes
|
||||
- /^.*-stable/
|
||||
- /.*backport.*/
|
||||
- /.*-stable/
|
||||
|
||||
before_script:
|
||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
- chmod +x ./cc-test-reporter
|
||||
- ./cc-test-reporter before-build
|
||||
|
||||
after_script:
|
||||
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
slack:
|
||||
secure: "\
|
||||
dNdKk6nahNURIUbO3ULhA09/vTEQjK0fNbgjVjeYPEvROHgQBP1cIP3AJy8aWs8rl5Yyow4Y\
|
||||
@@ -41,18 +53,6 @@ notifications:
|
||||
O1AanCUbJSEyJTju347xCBGzESU=\
|
||||
"
|
||||
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token:
|
||||
secure: "\
|
||||
mAuvDu+nrzB8dOaLqsublDGt423mGRyZYM3vsrXh4Tf1sT+L1PxsRzU4gLmcV27HtX2Oq9\
|
||||
DA4vsRURfABU0fIhwYkQuZqEcA3d8TL36BZcGEshG6MQ2AmnYsmFiTcxqV5bmlElHEqQuT\
|
||||
5SUFXLafgZPBnL0qDwujQcHukID41sE=\
|
||||
"
|
||||
# regular test configuration
|
||||
after_success:
|
||||
- bundle exec codeclimate-test-reporter
|
||||
|
||||
before_install:
|
||||
- gem update --system
|
||||
- gem install bundler
|
||||
- gem update --system --no-document
|
||||
- gem install bundler --no-document
|
||||
|
||||
@@ -2,11 +2,17 @@
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
@@ -16,31 +22,55 @@ Examples of behavior that contributes to creating a positive environment include
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting a project maintainer. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at [olivia@jekyllrb.com](mailto:olivia@jekyllrb.com). All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html][version]
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org/
|
||||
[version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq)
|
||||
|
||||
38
Gemfile
38
Gemfile
@@ -3,31 +3,36 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :name => "jekyll"
|
||||
|
||||
# Temporarily lock JRuby builds on Travis CI to i18n-1.2.x until JRuby is able to handle
|
||||
# refinements introduced in i18n-1.3.0
|
||||
gem "i18n", "~> 1.2.0" if RUBY_ENGINE == "jruby"
|
||||
|
||||
gem "rake", "~> 12.0"
|
||||
|
||||
group :development do
|
||||
gem "launchy", "~> 2.3"
|
||||
gem "pry"
|
||||
|
||||
unless RUBY_ENGINE == "jruby"
|
||||
gem "pry-byebug"
|
||||
end
|
||||
gem "pry-byebug" unless RUBY_ENGINE == "jruby"
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
group :test do
|
||||
gem "codeclimate-test-reporter", "~> 1.0.5"
|
||||
gem "cucumber", "~> 3.0"
|
||||
gem "httpclient"
|
||||
gem "jekyll_test_plugin"
|
||||
gem "jekyll_test_plugin_malicious"
|
||||
gem "memory_profiler"
|
||||
gem "nokogiri", "~> 1.7"
|
||||
gem "rspec"
|
||||
gem "rspec-mocks"
|
||||
gem "rubocop", "~> 0.60.0"
|
||||
gem "rubocop", "~> 0.72.0"
|
||||
gem "rubocop-performance"
|
||||
gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__)
|
||||
gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)
|
||||
gem "test-theme-skinny", :path => File.expand_path("test/fixtures/test-theme-skinny", __dir__)
|
||||
gem "test-theme-symlink", :path => File.expand_path("test/fixtures/test-theme-symlink", __dir__)
|
||||
|
||||
gem "jruby-openssl" if RUBY_ENGINE == "jruby"
|
||||
end
|
||||
@@ -35,9 +40,7 @@ end
|
||||
#
|
||||
|
||||
group :test_legacy do
|
||||
if RUBY_PLATFORM =~ %r!cygwin!
|
||||
gem "test-unit"
|
||||
end
|
||||
gem "test-unit" if RUBY_PLATFORM =~ %r!cygwin!
|
||||
|
||||
gem "minitest"
|
||||
gem "minitest-profile"
|
||||
@@ -60,34 +63,35 @@ end
|
||||
#
|
||||
|
||||
group :jekyll_optional_dependencies do
|
||||
gem "coderay", "~> 1.1.0"
|
||||
gem "jekyll-coffeescript"
|
||||
gem "jekyll-docs", :path => "../docs" if Dir.exist?("../docs") && ENV["JEKYLL_VERSION"]
|
||||
gem "jekyll-feed", "~> 0.9"
|
||||
gem "jekyll-gist"
|
||||
gem "jekyll-paginate"
|
||||
gem "jekyll-redirect-from"
|
||||
gem "kramdown", "~> 1.14"
|
||||
gem "kramdown-syntax-coderay"
|
||||
gem "mime-types", "~> 3.0"
|
||||
gem "rdoc", "~> 6.0"
|
||||
gem "tomlrb", "~> 1.2"
|
||||
|
||||
platform :ruby, :mswin, :mingw, :x64_mingw do
|
||||
gem "classifier-reborn", "~> 2.2.0"
|
||||
gem "liquid-c", "~> 3.0"
|
||||
gem "classifier-reborn", "~> 2.2"
|
||||
gem "liquid-c", "~> 4.0"
|
||||
gem "yajl-ruby", "~> 1.4"
|
||||
end
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem "tzinfo-data", :platforms => [:mingw, :mswin, :x64_mingw, :jruby]
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
# and associated library
|
||||
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
|
||||
gem "tzinfo", "~> 1.2"
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
group :site do
|
||||
if ENV["PROOF"]
|
||||
gem "html-proofer", "~> 3.4"
|
||||
end
|
||||
gem "html-proofer", "~> 3.4" if ENV["PROOF"]
|
||||
|
||||
gem "jekyll-avatar"
|
||||
gem "jekyll-mentions"
|
||||
|
||||
378
History.markdown
378
History.markdown
@@ -1,17 +1,180 @@
|
||||
## HEAD
|
||||
|
||||
* Textile is only supported through a converter plugin (#7003)
|
||||
* Add info how to deploy using pre-push git hook (#7179)
|
||||
* chore(release): reflect latest patched releases (#7262)
|
||||
### Major Enhancements
|
||||
|
||||
* Drop ruby 2.3 (#7454)
|
||||
* Drop support for Ruby 2.1 and 2.2 (#6560)
|
||||
* Drop support for older versions of Rouge (#6978)
|
||||
* Drop support for pygments as syntax-highlighter (#7118)
|
||||
* Drop support for Redcarpet (#6987)
|
||||
* Drop support for rdiscount (#6988)
|
||||
* Drop support for `jekyll-watch-1.4.0` and older (#7287)
|
||||
* Incorporate `relative_url` filter in `link` tag (#6727)
|
||||
* Upgrade kramdown dependency to v2.x (#7492)
|
||||
* Upgrade i18n to v1.x (#6931)
|
||||
* Add `Jekyll::Cache` class to handle caching on disk (#7169)
|
||||
* Cache converted markdown (#7159)
|
||||
* Cache: Do not dump undumpable objects (#7190)
|
||||
* Cache matched defaults sets for given parameters (#6888)
|
||||
* Ignore cache directory (#7184)
|
||||
* Add `Site#in_cache_dir` helper method (#7160)
|
||||
* Remove 'cache_dir' during `jekyll clean` (#7158)
|
||||
* Cache parsed Liquid templates in memory (#7136)
|
||||
* Only read layouts from source_dir or theme_dir (#6788)
|
||||
* Allow custom sorting of collection documents (#7427)
|
||||
* Always exclude certain paths from being processed (#7188)
|
||||
* Remove Jekyll::Utils#strip_heredoc in favor of a Ruby > 2.3 built in (#7584)
|
||||
* Incorporate `relative_url` within `post_url` tag (#7589)
|
||||
* Remove patch to modify config for kramdown (#7699)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Security: fix `include` bypass of `EntryFilter#filter` symlink check (#7226)
|
||||
* Theme gems: ensure directories aren't symlinks (#7419)
|
||||
* Add call to unused method `validate_options` in `commands/serve.rb` (#7122)
|
||||
* Check if scope applies to type before given path (#7263)
|
||||
* Document two methods, simplify one of the methods (#7270)
|
||||
* Check key in collections only if it isn't "posts" (#7277)
|
||||
* Interpolate Jekyll::Page subclass on inspection (#7203)
|
||||
* Measure the no. of times a template gets rendered (#7316)
|
||||
* Reduce array traversal in Jekyll::Reader (#7157)
|
||||
* Re-implement handling Liquid blocks in excerpts (#7250)
|
||||
* Documents should be able to render their date (#7404)
|
||||
* Fix Interpreter warning from Jekyll::Renderer (#7448)
|
||||
* Loggers should accept both numbers and symbols (#6967)
|
||||
* Replace regex arg to :gsub with a string arg (#7189)
|
||||
* Dont write static files from unrendered collection (#7410)
|
||||
* Excerpt handling of custom and intermediate tags (#7382)
|
||||
* Change future post loglevel to warn to help user narrow down issues (#7527)
|
||||
* Handle files with trailing dots in their basename (#7315)
|
||||
* Fix unnecessary allocations via StaticFileReader (#7572)
|
||||
* Don't check if site URL is absolute if it is nil (#7498)
|
||||
* Avoid unnecessary duplication of pages array (#7272)
|
||||
* Memoize Site#post_attr_hash (#7276)
|
||||
* Memoize Document#excerpt_separator (#7569)
|
||||
* Optimize Document::DATE_FILENAME_MATCHER to match valid filenames (#7292)
|
||||
* Escape valid special chars in a site's path name (#7568)
|
||||
* Replace `name` in Page#inspect with relative_path (#7434)
|
||||
* Log a warning when the slug is empty (#7357)
|
||||
* Push Markdown link refs to excerpt only as required (#7577)
|
||||
* Fix broken include_relative usage in excerpt (#7633)
|
||||
* Initialize and reset glob_cache only as necessary (#7658)
|
||||
* Revert memoizing Site#docs_to_write and #documents (#7684)
|
||||
* Backport #7684 for v3.8.x: Revert memoizing Site#docs_to_write and refactor #documents (#7689)
|
||||
* Backport #7213 and #7633 for v3.8.x: Fix broken include_relative usage in excerpt (#7690)
|
||||
* Don't read symlinks in site.include in safe mode (#7711)
|
||||
* Replace `String#=~` with `String#match?` (#7723)
|
||||
* Update log output for an invalid theme directory (#7679)
|
||||
|
||||
### Minor Enhancements
|
||||
|
||||
* Enhance `--blank` scaffolding (#7310)
|
||||
* Fix custom 404 page for GitHub pages (#7132)
|
||||
* Load config file from within current theme-gem (#7304)
|
||||
* Use `jekyll-compose` if installed (#6932)
|
||||
* Suggest re-running command with `--trace` on fail (#6551)
|
||||
* Support for binary operators in where_exp filter (#6998)
|
||||
* Automatically load `_config.toml` (#7299)
|
||||
* Add vendor folder to a newly installed site's .gitignore (#6968)
|
||||
* Output Jekyll Version while debugging (#7173)
|
||||
* Memoize computing excerpt's relative_path (#6951)
|
||||
* Skip processing posts that can not be read (#7302)
|
||||
* Memoize the return value of Site#documents (#7273)
|
||||
* Cache globbed paths in front matter defaults (#7345)
|
||||
* Cache computed item property (#7301)
|
||||
* Cleanup Markdown converter (#7519)
|
||||
* Disable Liquid via front matter (#6824)
|
||||
* Do not process Liquid in post excerpt when disabled in front matter (#7146)
|
||||
* Liquefied link tag (#6269)
|
||||
* Update item_property to return numbers as numbers instead of strings (#6608)
|
||||
* Use `.markdown` extension for page templates (#7126)
|
||||
* Add support for `*.xhtml` files (#6854)
|
||||
* Allow i18n v0.9.5 and higher (#7044)
|
||||
* Ignore permission error of /proc/version (#7267)
|
||||
* Strip extra slashes via `Jekyll.sanitized_path` (#7182)
|
||||
* Site template: remove default config for markdown (#7285)
|
||||
* Add a custom inspect string for StaticFile objects (#7422)
|
||||
* Remind user to include gem in the Gemfile on error (#7476)
|
||||
* Search Front matter defaults for Page objects with relative_path (#7261)
|
||||
* Configure cache_dir (#7232)
|
||||
* Lock use of `tzinfo` gem to v1.x (#7521, #7562)
|
||||
* Utilize absolute paths of user-provided file paths (#7450)
|
||||
* ISO week date drops (#5981)
|
||||
* Detect `nil` and empty values in objects with `where` filter (#7580)
|
||||
* Initialize mutations for Drops only if necessary (#7657)
|
||||
* Reduce Array allocations via Jekyll::Cleaner (#7659)
|
||||
* Encode and unencode urls only as required (#7654)
|
||||
* Reduce string allocations with better alternatives (#7643)
|
||||
* Reduce allocations from Jekyll::Document instances (#7625)
|
||||
* Add `type` attribute to Document instances (#7406)
|
||||
* Reduce allocations from where-filter (#7653)
|
||||
* Memoize SiteDrop#documents to reduce allocations (#7697)
|
||||
* Add PathManager class to cache interim paths (#7732)
|
||||
|
||||
### Development Fixes
|
||||
|
||||
* Use communicative method parameters (#7566)
|
||||
* Scan `assert_equal` methods and rectify any offenses with a custom RuboCop cop (#7130)
|
||||
* Add a script to profile docs with CI (#7540)
|
||||
* Test with Ruby 2.6 on AppVeyor (#7518)
|
||||
* Update gemspec (#7425)
|
||||
* Upgrade liquid-c to v4.0 (#7375)
|
||||
* Bump RuboCop to v0.63.x (#7489)
|
||||
* Bump RuboCop to v0.62.x (#7449)
|
||||
* Bump RuboCop to v0.61.x (#7401)
|
||||
* Bump RuboCop to v0.60.x (#7338)
|
||||
* Bump RuboCop to v0.59.0 (#7237)
|
||||
* Bump RuboCop to v0.57.x (#7078)
|
||||
* Relax version constraint on classifier-reborn gem (#7471)
|
||||
* Test with Ruby v2.6 (#7438)
|
||||
* Create symlink only if target is accessible (#7429)
|
||||
* Test with oldest and latest Ruby only (#7412)
|
||||
* Switch to `:install_if` for wdm gem (#7372)
|
||||
* Update excludes for CodeClimate Analyses (#7365)
|
||||
* CI(Appveyor): shallow clone with 5 last commits (#7312)
|
||||
* update yajl-ruby (#7278)
|
||||
* Add cucumber feature to test include_relative tag (#7213)
|
||||
* Small benchmark refactoring (#7211)
|
||||
* Lock Travis to Bundler-1.16.2 (#7144)
|
||||
* Fix incorrectly passed arguments to assert_equal (#7134)
|
||||
* fix up refute_equal call (#7133)
|
||||
* Fix RuboCop offences in test files (#7128)
|
||||
* Use assert_include (#7093)
|
||||
* Remember to release docs gem (#7066)
|
||||
* Update RuboCop's config (#7050)
|
||||
* Useless privates removed (#6768)
|
||||
* Load Rouge for TestKramdown (#7007)
|
||||
* yajl-ruby update to v1.4.0 (#6976)
|
||||
* Update instructions for releasing docs Gem (#6975)
|
||||
* We are not using Ruby 2.2 anymore (#6977)
|
||||
* Remove unnecessary Jekyll::Page constant (#6770)
|
||||
* Remove unused error class (#6511)
|
||||
* Add a Cucumber feature for post_url tag (#7586)
|
||||
* Bump tested version of JRuby to 9.2.7.0 (#7612)
|
||||
* Generate a "TOTAL" row for build-profile table (#7614)
|
||||
* Target Ruby 2.4 syntax in RuboCop scans (#7583)
|
||||
* Bump RuboCop to v0.68.x (#7637)
|
||||
* Refactor Jekyll::Cache (#7532)
|
||||
* Store list of expected extnames in a constant (#7638)
|
||||
* Bump RuboCop to v0.69.x (#7656)
|
||||
* Profile allocations from a build session (#7646)
|
||||
* Update small typo in contributing.md (#7671)
|
||||
* Bump RuboCop to v0.70.x (#7678)
|
||||
* Remove override to Jekyll::Document#respond_to? (#7695)
|
||||
* Do not install docs on updating gems on Travis (#7706)
|
||||
* Update TestTags in sync with Rouge v3.4 (#7709)
|
||||
* Bump RuboCop to v0.71.0 (#7687)
|
||||
* Use regexp to filter special entries (#7702)
|
||||
* Reduce Array objects generated from utility method (#7749)
|
||||
* Update mime.types (#7756)
|
||||
* Replace redundant Array#map with Array#each (#7761)
|
||||
|
||||
### Documentation
|
||||
|
||||
* Release post for v3.8.0 (#6849)
|
||||
* Add Installation Instructions for Ubuntu (#6925)
|
||||
* add liquid tag jekyll-flickr (#6946)
|
||||
* Add 4.0 development post (#6934)
|
||||
* Updated copy - fixed casing of SaaS on resources page. (#6949)
|
||||
* WIP: Do not advise users to install Jekyll outside of Bundler (#6927)
|
||||
* Do not advise users to install Jekyll outside of Bundler (#6927)
|
||||
* Don't prompt for sudo when installing with Ubuntu WSL (#6781)
|
||||
* Fix typo (#6969)
|
||||
* Add version number for group_by_exp doc (#6956)
|
||||
@@ -20,8 +183,8 @@
|
||||
* Updated nginx configuration for custom-404-page documentation (#6994)
|
||||
* List all static files variables (#7002)
|
||||
* Document that _drafts need to be contained within the custom collection directory (#6985)
|
||||
* proposed change for passive voice. (#7005)
|
||||
* added the CAT plugin to the plugin list (#7011)
|
||||
* Change for passive voice. (#7005)
|
||||
* Added the CAT plugin to the plugin list (#7011)
|
||||
* Updated to supported version (#7031)
|
||||
* Clarify definition of 'draft' (#7037)
|
||||
* Listed the jekyll-target-blank plugin in plugins list. (#7046)
|
||||
@@ -33,7 +196,7 @@
|
||||
* GitHub enables you to use themes from other repos (#7112)
|
||||
* Updates to CODE OF CONDUCT (v1.4.0) (#7105)
|
||||
* Instructions to view theme’s files under Linux (#7095)
|
||||
* add jekyll-xml-source (#7114)
|
||||
* Add jekyll-xml-source (#7114)
|
||||
* Add the jekyll-firstimage filter plugin (#7127)
|
||||
* Use a real theme in the example (#7125)
|
||||
* Update docs about post creation (#7138)
|
||||
@@ -45,128 +208,129 @@
|
||||
* Corrected sample usage of postfiles (#7181)
|
||||
* Add missing html end tag for code example in section 'For loops' (#7199)
|
||||
* Resolve "Unable to locate package ruby2.4" error (#7196)
|
||||
* installation instructions for Fedora (#7198)
|
||||
* Installation instructions for Fedora (#7198)
|
||||
* New docs (#7205)
|
||||
* List all standard liquid filters (#7333)
|
||||
* Correct stylesheet url in tutorial step 7 (#7210)
|
||||
* Add some minor improvements to image loading in Showcase page (#7214)
|
||||
* Fix minor grammatical error (#7215)
|
||||
* Add developer.spotify.com to the Jekyll Showcase (#7217)
|
||||
* removes quotes from markdown for assets (#7223)
|
||||
* clarified front matter requirement (#7234)
|
||||
* Removes quotes from markdown for assets (#7223)
|
||||
* Clarified front matter requirement (#7234)
|
||||
* Minor whitespace fixes (#7238)
|
||||
* explicit location of where to create blog.html (#7241)
|
||||
* Explicit location of where to create blog.html (#7241)
|
||||
* Fix a small grammar error/typo in the docs (#7260)
|
||||
* environments.md: reference the build command options that allows multiple config files (#7266)
|
||||
* Reference the build command options that allows multiple config files (#7266)
|
||||
* Update 10-deployment.md (#7268)
|
||||
* Add more issue template(s) and pull request template (#7269)
|
||||
* Suggest sites use OpenSSL instead of GnuTLS for their site's CI (#7010)
|
||||
* Fix broken Contributors link in README.markdown (#7200)
|
||||
* Docs: Add title tag to item in RSS template (#7282)
|
||||
* Docs: more inclusive writing (#7283)
|
||||
* Add title tag to item in RSS template (#7282)
|
||||
* More inclusive writing (#7283)
|
||||
* Document converter methods (#7289)
|
||||
* Docs: Add link tag to item in RSS template (#7291)
|
||||
* Add link tag to item in RSS template (#7291)
|
||||
* Add Isomer to showcase (#7300)
|
||||
* Added missing semicolon (#7306)
|
||||
* "This restricts you..." to "This restricts your" (#7307)
|
||||
* Add a link to Giraffe Academy's tutorial (#7325)
|
||||
* grammar correction (#7327)
|
||||
* docs: list all standard liquid filters (#7333)
|
||||
* Grammar correction (#7327)
|
||||
* Document Jekyll Filters with YAML data (#7335)
|
||||
* Remove redundant instruction comment (#7342)
|
||||
* docs: minimize rendering count (#7343)
|
||||
|
||||
### Minor Enhancements
|
||||
|
||||
* use jekyll-compose if installed (#6932)
|
||||
* Memoize computing excerpt's relative_path (#6951)
|
||||
* Liquefied link tag (#6269)
|
||||
* Suggest re-running command with --trace on fail (#6551)
|
||||
* Update item_property to return numbers as numbers instead of strings (#6608)
|
||||
* Use .markdown for page templates (#7126)
|
||||
* Fix custom 404 page for GitHub pages (#7132)
|
||||
* Add support for `*.xhtml` files (#6854)
|
||||
* Cache matched defaults sets for given parameters (#6888)
|
||||
* Ignore permission error of /proc/version (#7267)
|
||||
* Strip extra slashes via `Jekyll.sanitized_path` (#7182)
|
||||
* Site template: remove default config for markdown (#7285)
|
||||
* Cache: Do not dump undumpable objects (#7190)
|
||||
* Optimize rendering Liquid templates (#7136)
|
||||
* Automatically load _config.toml (#7299)
|
||||
* feat: enhance --blank scaffolding (#7310)
|
||||
* Skip processing posts that can not be read (#7302)
|
||||
* Memoize Site#post_attr_hash (#7276)
|
||||
* Load config file from within current theme-gem (#7304)
|
||||
* Memoize the return value of Site#documents (#7273)
|
||||
|
||||
### Major Enhancements
|
||||
|
||||
* Remove unused error class (#6511)
|
||||
* Drop support for Ruby 2.1 and 2.2 (#6560)
|
||||
* Add vendor folder to a newly installed site's .gitignore (#6968)
|
||||
* bump i18n (#6931)
|
||||
* We are not using Ruby 2.2 anymore (#6977)
|
||||
* Drop support for older versions of Rouge (#6978)
|
||||
* Remove support for Redcarpet (#6987)
|
||||
* Remove support for rdiscount (#6988)
|
||||
* Remove 'cache_dir' during `jekyll clean` (#7158)
|
||||
* Output Jekyll Version while debugging (#7173)
|
||||
* Drop support for pygments as syntax-highlighter (#7118)
|
||||
* Add Cache class (#7169)
|
||||
* Cache converted markdown (#7159)
|
||||
* Ignore cache directory (#7184)
|
||||
* Incorporate `relative_url` filter in `link` tag (#6727)
|
||||
|
||||
### Development Fixes
|
||||
|
||||
* Remove unnecessary Jekyll::Page constant (#6770)
|
||||
* Loggers should accept both numbers and symbols (#6967)
|
||||
* Update instructions for releasing docs Gem (#6975)
|
||||
* yajl-ruby update to v1.4.0 (#6976)
|
||||
* Load Rouge for TestKramdown (#7007)
|
||||
* Useless privates removed (#6768)
|
||||
* Allow i18n v0.9.5 and higher (#7044)
|
||||
* Update Rubocop's config (#7050)
|
||||
* Remember to release docs gem (#7066)
|
||||
* Use assert_include (#7093)
|
||||
* Update rubocop version to 0.57.x ### -docs (#7078)
|
||||
* Minimize rendering count (#7343)
|
||||
* Update posts.md (#7360)
|
||||
* Add info how to deploy using pre-push git hook (#7179)
|
||||
* Textile is only supported through a converter plugin (#7003)
|
||||
* Add documentation for custom tag blocks (#7359)
|
||||
* Added 99inbound's Jekyll post to form resources (#7348)
|
||||
* Document page.dir and page.name (#7373)
|
||||
* Remove installation instructions with Homebrew (#7381)
|
||||
* Fix dead link and misleading prose (#7383)
|
||||
* Fix content management section (#7385)
|
||||
* Proposed re-wording of Sass note. :) (#7392)
|
||||
* Apply ruby official guide documents (#7393)
|
||||
* Fix group_by_exp filter example (#7394)
|
||||
* Adjust team page listings (#7395)
|
||||
* Update resources.md (#7396)
|
||||
* Update resources.md (#7397)
|
||||
* Remove alt attribute from a tags (#7407)
|
||||
* Fix grammatical error in permalinks.md (#7409)
|
||||
* Fix BASH code-block in ubuntu.md (#7420)
|
||||
* zlib is missing (#7428)
|
||||
* Include docs for `{{ page.collection }}` (#7430)
|
||||
* Permalink docs typo fixes (#7459)
|
||||
* Fixed unnecessary aticles and pronouns (#7466)
|
||||
* Grammatical correction (#7464)
|
||||
* Update resources.md (#7472)
|
||||
* Store SSL key and cert in site source (#7473)
|
||||
* Minor doc fixes (#7495)
|
||||
* Changed order of steps (#7503)
|
||||
* Hosting with AWS Amplify (#7510)
|
||||
* Fix typo in tutorial for converting existing site (#7524)
|
||||
* Add CloudSh to resource page. (#7497)
|
||||
* Check if var exists before include tag (#7530)
|
||||
* Added formX to form-backend resources (#7536)
|
||||
* Clarify docs on collections regarding the need for front matter (#7538)
|
||||
* Fix incorrect Windows path in themes.md (#7525)
|
||||
* Document where Jekyll looks for layouts in a site (#7564)
|
||||
* Mention CommonMark plugins (#7418)
|
||||
* Addresses bundle not found. (#7351)
|
||||
* Example of CircleCI deployment through CircleCI v2 (#7024)
|
||||
* Fix Rubocop offences in test files (#7128)
|
||||
* fix up refute_equal call (#7133)
|
||||
* Fix incorrectly passed arguments to assert_equal (#7134)
|
||||
* Lock Travis to Bundler-1.16.2 (#7144)
|
||||
* Replace regex arg to :gsub with a string arg (#7189)
|
||||
* Interpolate Jekyll::Page subclass on inspection (#7203)
|
||||
* Small benchmark refactoring (#7211)
|
||||
* Add cucumber feature to test include_relative tag (#7213)
|
||||
* Bump Rubocop to v0.59.0 (#7237)
|
||||
* update yajl-ruby (#7278)
|
||||
* Drop support for `jekyll-watch-1.4.0` and older (#7287)
|
||||
* CI(Appveyor): shallow clone with 5 last commits (#7312)
|
||||
* Bump RuboCop to v0.60.x (#7338)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Add call to unused method `validate_options` in `commands/serve.rb` (#7122)
|
||||
* Security: fix `include` bypass of `EntryFilter#filter` symlink check (#7226)
|
||||
* Check if scope applies to type before given path (#7263)
|
||||
* Document two methods, simplify one of the methods (#7270)
|
||||
* Check key in collections only if it isn't "posts" (#7277)
|
||||
* Revert "Cache converter in renderer" (#7326)
|
||||
* Measure the no. of times a template gets rendered (#7316)
|
||||
* Re-implement handling Liquid blocks in excerpts (#7250)
|
||||
|
||||
### feature
|
||||
|
||||
* Disable Liquid via front matter (#6824)
|
||||
* Do not process Liquid in post excerpt when disabled in front matter (#7146)
|
||||
* v4.0 development post (#6934)
|
||||
* Release post for v3.8.0 (#6849)
|
||||
* Release Post for v3.6.3, v3.7.4 and v3.8.4 (#7259)
|
||||
* Adds Statictastic to the list of resources (#7593)
|
||||
* Update 07-assets.md (#7599)
|
||||
* Fix link space (#7600)
|
||||
* Added Formspark to form resources (#7601)
|
||||
* Simplify couple of includes in the docs site (#7607)
|
||||
* Avoid generating empty classnames (#7610)
|
||||
* Install Docs that Work on MacOS 10.14 (#7561)
|
||||
* Update the contribution docs for draft pull requests (#7619)
|
||||
* Doc: Data file section adds TSV (#7640)
|
||||
* Indicate where the _sass folder is by default (#7644)
|
||||
* Docs: add version tags to new placeholders (#5981) for permalinks (#7647)
|
||||
* Solve "GitHub Page build failure" in 10-deployment.md (#7648)
|
||||
* Fix typo from 'Github' to 'GitHub' (#7691)
|
||||
* fix link to Site Source config (#7708)
|
||||
* Add Jekpack to resources page (#7598)
|
||||
* Introduce frontmatter in step 2 (#7704)
|
||||
* Add recursive navigation tutorial (#7720)
|
||||
* Fix misspelling of "additional" (#7764)
|
||||
* docs: improve how to include rouge stylesheets (#7752)
|
||||
|
||||
### Site Enhancements
|
||||
|
||||
* Add Release Post for v3.6.3, v3.7.4 and v3.8.4 (#7259)
|
||||
* Add @ashmaroli to Core Team listing (#7398)
|
||||
* Lnk to Tidelift in site's footer (#7377)
|
||||
* Link to OpenCollective backing (#7378
|
||||
* Link to sponsor listing in README (#7405)
|
||||
* Better Performance (#7388)
|
||||
* Simplify assigning classname to docs' aside-links (#7609)
|
||||
|
||||
### release
|
||||
|
||||
* Release v4.0.0.pre.alpha1 (#7574)
|
||||
|
||||
## 3.8.6 / 2019-07-02
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Update log output for an invalid theme directory (#7734)
|
||||
* Memoize `SiteDrop#documents` to reduce allocations (#7722)
|
||||
* Excerpt handling of custom and intermediate tags (#7467)
|
||||
* Escape valid special chars in a site's path name (#7573)
|
||||
* Revert memoizing `Site#docs_to_write` and refactor `#documents` (#7689)
|
||||
* Fix broken `include_relative` usage in excerpt (#7690)
|
||||
* Install platform-specific gems as required (3c06609406)
|
||||
|
||||
### Security Fixes
|
||||
|
||||
* Theme gems: ensure directories aren't symlinks (#7424)
|
||||
|
||||
## 3.8.5 / 2018-11-04
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Re-implement handling Liquid blocks in excerpts (#7250)
|
||||
|
||||
## 3.8.4 / 2018-09-18
|
||||
@@ -218,10 +382,10 @@
|
||||
* Minimize array allocations in the `where` filter (#6860)
|
||||
* Bump JRuby (#6878)
|
||||
* Assert existence of <collection>.files (#6907)
|
||||
* Bump Rubocop to 0.54.x (#6915)
|
||||
* Bump RuboCop to 0.54.x (#6915)
|
||||
* Regenerate unconditionally unless its an incremental build (#6917)
|
||||
* Centralize require statements (#6910)
|
||||
* Bump to Rubocop 0.55 (#6929)
|
||||
* Bump to RuboCop 0.55 (#6929)
|
||||
* Refactor private method `HighlightBlock#parse_options` (#6822)
|
||||
|
||||
### Minor Enhancements
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2008-2018 Tom Preston-Werner and Jekyll contributors
|
||||
Copyright (c) 2008-present Tom Preston-Werner and Jekyll contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -28,7 +28,7 @@ See: https://jekyllrb.com/philosophy
|
||||
|
||||
* [Install](https://jekyllrb.com/docs/installation/) the gem
|
||||
* Read up about its [Usage](https://jekyllrb.com/docs/usage/) and [Configuration](https://jekyllrb.com/docs/configuration/)
|
||||
* Take a gander at some existing [Sites](https://wiki.github.com/jekyll/jekyll/sites)
|
||||
* Take a gander at some existing [Sites](https://github.com/jekyll/jekyll/wiki/sites)
|
||||
* [Fork](https://github.com/jekyll/jekyll/fork) and [Contribute](https://jekyllrb.com/docs/contributing/) your own modifications
|
||||
* Have questions? Check out our official forum community [Jekyll Talk](https://talk.jekyllrb.com/) or [`#jekyll` on irc.freenode.net](https://botbot.me/freenode/jekyll/)
|
||||
|
||||
@@ -59,6 +59,21 @@ these terms, please let one of our [core team members](https://jekyllrb.com/team
|
||||
|
||||
## Credits
|
||||
|
||||
### Sponsors
|
||||
|
||||
Support this project by becoming a sponsor. Your logo will show up in this README with a link to your website. [Become a sponsor!](https://opencollective.com/jekyll#sponsor)
|
||||
|
||||
<a href="https://opencollective.com/jekyll/sponsor/0/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/0/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/1/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/1/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/2/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/2/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/3/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/3/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/4/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/4/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/5/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/5/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/6/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/6/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/7/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/7/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/8/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/8/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/9/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/9/avatar.svg" /></a>
|
||||
|
||||
### Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute.
|
||||
@@ -70,14 +85,6 @@ Thank you to all our backers! 🙏 [Become a backer](https://opencollective.com/
|
||||
|
||||
<a href="https://opencollective.com/jekyll#backers" target="_blank"><img src="https://opencollective.com/jekyll/backers.svg?width=890" /></a>
|
||||
|
||||
### Sponsors
|
||||
|
||||
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor!](https://opencollective.com/jekyll#sponsor)
|
||||
|
||||
<a href="https://opencollective.com/jekyll/sponsor/0/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/0/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/1/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/1/avatar.svg" /></a>
|
||||
<a href="https://opencollective.com/jekyll/sponsor/2/website" target="_blank"><img src="https://opencollective.com/jekyll/sponsor/2/avatar.svg" /></a>
|
||||
|
||||
## License
|
||||
|
||||
See the [LICENSE](https://github.com/jekyll/jekyll/blob/master/LICENSE) file.
|
||||
|
||||
23
appveyor.yml
23
appveyor.yml
@@ -6,27 +6,28 @@ branches:
|
||||
only:
|
||||
- master
|
||||
- themes
|
||||
- /.*-stable/
|
||||
|
||||
build: off
|
||||
|
||||
environment:
|
||||
BUNDLE_WITHOUT: "benchmark:site:development"
|
||||
BUNDLE_WITHOUT: "benchmark:development"
|
||||
matrix:
|
||||
- RUBY_FOLDER_VER: "25"
|
||||
TEST_SUITE: "test"
|
||||
- RUBY_FOLDER_VER: "25"
|
||||
TEST_SUITE: "cucumber"
|
||||
- RUBY_FOLDER_VER: "25"
|
||||
TEST_SUITE: "default-site"
|
||||
- RUBY_FOLDER_VER: "25-x64"
|
||||
TEST_SUITE: "test"
|
||||
- RUBY_FOLDER_VER: "24"
|
||||
TEST_SUITE: "test"
|
||||
- RUBY_FOLDER_VER: "23"
|
||||
- RUBY_FOLDER_VER: "26"
|
||||
TEST_SUITE: "test"
|
||||
- RUBY_FOLDER_VER: "26"
|
||||
TEST_SUITE: "default-site"
|
||||
- RUBY_FOLDER_VER: "26"
|
||||
TEST_SUITE: "profile-docs"
|
||||
- RUBY_FOLDER_VER: "26"
|
||||
TEST_SUITE: "memprof"
|
||||
- RUBY_FOLDER_VER: "26"
|
||||
TEST_SUITE: "cucumber"
|
||||
|
||||
install:
|
||||
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%\bin;%PATH%
|
||||
- SET PATH=C:\Ruby%RUBY_FOLDER_VER%-x64\bin;%PATH%
|
||||
- bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle
|
||||
|
||||
test_script:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
version: 3.8.5
|
||||
version: 3.8.6
|
||||
min_ruby_version: 2.4.0
|
||||
name: Jekyll • Simple, blog-aware, static sites
|
||||
description: Transform your plain text into static websites and blogs
|
||||
url: https://jekyllrb.com
|
||||
@@ -10,6 +11,7 @@ twitter:
|
||||
logo: "/img/logo-2x.png"
|
||||
google_analytics_id: UA-50755011-1
|
||||
google_site_verification: onQcXpAvtHBrUI5LlroHNE_FP0b2qvFyPq7VZw36iEY
|
||||
|
||||
collections:
|
||||
docs:
|
||||
permalink: "/:collection/:path/"
|
||||
@@ -19,6 +21,7 @@ collections:
|
||||
output: true
|
||||
tutorials:
|
||||
output: true
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: _docs
|
||||
@@ -30,7 +33,11 @@ defaults:
|
||||
type: posts
|
||||
values:
|
||||
layout: news_item
|
||||
image: "/img/twitter-card.png"
|
||||
- scope:
|
||||
path: ""
|
||||
values:
|
||||
image: "/img/jekyll-og.png"
|
||||
|
||||
plugins:
|
||||
- jekyll-avatar
|
||||
- jekyll-feed
|
||||
@@ -39,8 +46,14 @@ plugins:
|
||||
- jekyll-seo-tag
|
||||
- jekyll-sitemap
|
||||
- jemoji
|
||||
|
||||
feed:
|
||||
categories:
|
||||
- release
|
||||
|
||||
sass:
|
||||
style: compressed
|
||||
|
||||
exclude:
|
||||
- .gitignore
|
||||
- .jekyll-cache
|
||||
|
||||
@@ -127,10 +127,10 @@
|
||||
examples:
|
||||
- input: |-
|
||||
{{ site.members | group_by_exp: "item",
|
||||
"item.graduation_year | truncate 3, ''" }}
|
||||
"item.graduation_year | truncate: 3, ''" }}
|
||||
output: |-
|
||||
[{"name"=>"201...", "items"=>[...]},
|
||||
{"name"=>"200...", "items"=>[...]}]
|
||||
[{"name"=>"201", "items"=>[...]},
|
||||
{"name"=>"200", "items"=>[...]}]
|
||||
|
||||
#
|
||||
|
||||
|
||||
@@ -120,10 +120,23 @@ page:
|
||||
<code>/work/code/_posts/2008-12-24-closures.md</code> would have this field set to
|
||||
<code>['work', 'code']</code>. These can also be specified in the
|
||||
<a href="/docs/front-matter/">front matter</a>.
|
||||
- name: page.collection
|
||||
description: >-
|
||||
The label of the collection to which this document belongs. e.g. <code>posts</code> for a post, or
|
||||
<code>puppies</code> for a document at path <code>_puppies/rover.md</code>. If not part of a
|
||||
collection, an empty string is returned.
|
||||
- name: page.tags
|
||||
description: >-
|
||||
The list of tags to which this post belongs. These can be specified in the
|
||||
<a href="/docs/front-matter/">front matter</a>.
|
||||
- name: page.dir
|
||||
description: >-
|
||||
The path between the source directory and the file of the post or page, e.g.
|
||||
<code>/pages/</code>.
|
||||
This can be overridden by <code>permalink</code> in the <a href="/docs/front-matter/">front matter</a>.
|
||||
- name: page.name
|
||||
description: >-
|
||||
The filename of the post or page, e.g. <code>about.md</code>
|
||||
- name: page.path
|
||||
description: >-
|
||||
The path to the raw post or page. Example usage: Linking back to the page or post’s source
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
- name: Forestry.io
|
||||
image: /img/forestry-logo.png
|
||||
url: https://forestry.io/?utm_campaign=jekyllsponsor&utm_medium=banner&utm_source=jekyllrb.com
|
||||
width: 140
|
||||
height: 30
|
||||
- name: CloudCannon
|
||||
image: /img/cloudcannon-logo.png
|
||||
url: https://cloudcannon.com
|
||||
width: 75
|
||||
height: 30
|
||||
- name: Siteleaf
|
||||
image: /img/siteleaf-logo.png
|
||||
url: https://siteleaf.com
|
||||
width: 40
|
||||
height: 50
|
||||
@@ -61,8 +61,8 @@ The Sass converter will default the `sass_dir` configuration option to
|
||||
|
||||
Note that the <code>sass_dir</code> becomes the load path for Sass imports,
|
||||
nothing more. This means that Jekyll does not know about these files
|
||||
directly, so any files here should not contain the front matter as
|
||||
described above nor will they be transformed as described above. This
|
||||
directly. Any files here should not contain the empty front matter as
|
||||
described above. If they do, they'll not be transformed as described above. This
|
||||
folder should only contain imports.
|
||||
|
||||
</p>
|
||||
|
||||
@@ -8,11 +8,17 @@ editable: false
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
@@ -22,31 +28,55 @@ Examples of behavior that contributes to creating a positive environment include
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting a project maintainer. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at [olivia@jekyllrb.com](mailto:olivia@jekyllrb.com). All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html][version]
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org/
|
||||
[version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq)
|
||||
|
||||
@@ -44,7 +44,10 @@ collections:
|
||||
Create a corresponding folder (e.g. `<source>/_staff_members`) and add
|
||||
documents. Front matter is processed if the front matter exists, and everything
|
||||
after the front matter is pushed into the document's `content` attribute. If no front
|
||||
matter is provided, Jekyll will not generate the file in your collection.
|
||||
matter is provided, Jekyll will consider it to be a [static file](/docs/static-files/)
|
||||
and copy it to the destination (e.g. `_site`) without processing. If front matter
|
||||
is provided, Jekyll will process the file in your collection but will not write to disk
|
||||
unless `output: true` is set in the collection's metadata.
|
||||
|
||||
For example here's how you would add a staff member to the collection set above.
|
||||
The filename is `./_staff_members/jane.md` with the following content:
|
||||
@@ -111,6 +114,58 @@ You can link to the generated page using the `url` attribute:
|
||||
There are special [permalink variables for collections](/docs/permalinks/) to
|
||||
help you control the output url for the entire collection.
|
||||
|
||||
{% if site.version == '4.0.0' %}{% comment %} Remove this encapsulation when v4.0 ships {% endcomment %}
|
||||
|
||||
## Custom Sorting of Documents
|
||||
|
||||
By default, documents in a collection are sorted by their paths. But you can control this sorting via the collection's metadata.
|
||||
|
||||
### Sort By Front Matter Key
|
||||
|
||||
Documents can be sorted based on a front matter key by setting a `sort_by` metadata to the front matter key string. For example,
|
||||
to sort a collection of tutorials based on key `lesson`, the configuration would be:
|
||||
|
||||
```yaml
|
||||
collections:
|
||||
tutorials:
|
||||
sort_by: lesson
|
||||
```
|
||||
|
||||
The documents are arranged in the increasing order of the key's value. If a document does not have the front matter key defined
|
||||
then that document is placed immediately after sorted documents. When multiple documents do not have the front matter key defined,
|
||||
those documents are sorted by their dates or paths and then placed immediately after the sorted documents.
|
||||
|
||||
### Manually Ordering Documents
|
||||
|
||||
You can also manually order the documents by setting an `order` metadata with **the filenames listed** in the desired order.
|
||||
For example, a collection of tutorials would be configured as:
|
||||
|
||||
```yaml
|
||||
collections:
|
||||
tutorials:
|
||||
order:
|
||||
- hello-world.md
|
||||
- introduction.md
|
||||
- basic-concepts.md
|
||||
- advanced-concepts.md
|
||||
```
|
||||
|
||||
Any documents with filenames that do not match the list entry simply gets placed after the rearranged documents. If a document is
|
||||
nested under subdirectories, include them in entries as well:
|
||||
|
||||
```yaml
|
||||
collections:
|
||||
tutorials:
|
||||
order:
|
||||
- hello-world.md
|
||||
- introduction.md
|
||||
- concepts/basics.md
|
||||
- concepts/advanced.md
|
||||
```
|
||||
|
||||
If both metadata keys have been defined properly, `order` list takes precedence.
|
||||
{% endif %}
|
||||
|
||||
## Liquid Attributes
|
||||
|
||||
### Collections
|
||||
|
||||
@@ -8,15 +8,15 @@ redirect_from: "/help/index.html"
|
||||
|
||||
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
||||
|
||||
[Read the full code of conduct](/docs/conduct/)
|
||||
Read the full [code of conduct](/docs/conduct/)
|
||||
|
||||
## Where to get support
|
||||
|
||||
If you're looking for support for Jekyll, there are a lot of options:
|
||||
|
||||
* Read [Jekyll Documentation](https://jekyllrb.com/docs/)
|
||||
* If you have a question about using Jekyll, start a discussion on [the Jekyll Forum](https://talk.jekyllrb.com/) or [StackOverflow](https://stackoverflow.com/questions/tagged/jekyll)
|
||||
* Chat with Jekyllers — Join [our Gitter channel](https://gitter.im/jekyll/jekyll) or [our IRC channel on Freenode](irc:irc.freenode.net/jekyll)
|
||||
* Read the [Jekyll Documentation](https://jekyllrb.com/docs/)
|
||||
* If you have a question about using Jekyll, start a discussion on the [Jekyll Forum](https://talk.jekyllrb.com/) or [StackOverflow](https://stackoverflow.com/questions/tagged/jekyll)
|
||||
* Chat with Jekyllers — Join our [Gitter channel](https://gitter.im/jekyll/jekyll) or our [IRC channel on Freenode](irc:irc.freenode.net/jekyll)
|
||||
|
||||
There are a bunch of helpful community members on these services that should be willing to point you in the right direction.
|
||||
|
||||
|
||||
@@ -6,25 +6,42 @@ redirect_from: "/conduct/index.html"
|
||||
editable: false
|
||||
---
|
||||
|
||||
As contributors and maintainers of this project, and in the interest of
|
||||
fostering an open and welcoming community, we pledge to respect all people who
|
||||
contribute through reporting issues, posting feature requests, updating
|
||||
documentation, submitting pull requests or patches, and other activities.
|
||||
## Our Pledge
|
||||
|
||||
We are committed to making participation in this project a harassment-free
|
||||
experience for everyone, regardless of level of experience, gender, gender
|
||||
identity and expression, sexual orientation, disability, personal appearance,
|
||||
body size, race, ethnicity, age, religion, or nationality.
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery
|
||||
* Personal attacks
|
||||
* Trolling or insulting/derogatory comments
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing other's private information, such as physical or electronic
|
||||
addresses, without explicit permission
|
||||
* Other unethical or unprofessional conduct
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
@@ -32,24 +49,34 @@ that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
By adopting this Code of Conduct, project maintainers commit themselves to
|
||||
fairly and consistently applying these principles to every aspect of managing
|
||||
this project. Project maintainers who do not follow or enforce the Code of
|
||||
Conduct may be permanently removed from the project team.
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community.
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by opening an issue or contacting a project maintainer. All complaints
|
||||
will be reviewed and investigated and will result in a response that is deemed
|
||||
necessary and appropriate to the circumstances. Maintainers are obligated to
|
||||
maintain confidentiality with regard to the reporter of an incident.
|
||||
reported by contacting the project team at [olivia@jekyllrb.com](mailto:olivia@jekyllrb.com). All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 1.3.0, available at
|
||||
[http://contributor-covenant.org/version/1/3/0/][version]
|
||||
## Attribution
|
||||
|
||||
[homepage]: http://contributor-covenant.org
|
||||
[version]: http://contributor-covenant.org/version/1/3/0/
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq)
|
||||
|
||||
@@ -16,6 +16,8 @@ plugins_dir : _plugins
|
||||
layouts_dir : _layouts
|
||||
data_dir : _data
|
||||
includes_dir : _includes
|
||||
sass:
|
||||
sass_dir: _sass
|
||||
collections:
|
||||
posts:
|
||||
output : true
|
||||
|
||||
@@ -53,6 +53,12 @@ currently supported options:
|
||||
|
||||
For more details about these options have a look at the [Kramdown configuration documentation](https://kramdown.gettalong.org/options.html).
|
||||
|
||||
### CommonMark
|
||||
|
||||
[CommonMark](https://commonmark.org/) is a rationalized version of Markdown syntax, implemented in C and thus faster than default Kramdown implemented in Ruby. It [slightly differs](https://github.com/commonmark/CommonMark#differences-from-original-markdown) from original Markdown and does not support all the syntax elements implemented in Kramdown, like [Block Inline Attribute Lists](https://kramdown.gettalong.org/syntax.html#block-ials).
|
||||
|
||||
It comes in two flavors: basic CommonMark with [jekyll-commonmark](https://github.com/jekyll/jekyll-commonmark) plugin and [GitHub Flavored Markdown supported by GitHub Pages](https://github.com/github/jekyll-commonmark-ghpages).
|
||||
|
||||
### Redcarpet
|
||||
|
||||
Redcarpet can be configured by providing an `extensions` sub-setting, whose
|
||||
|
||||
@@ -352,17 +352,27 @@ before your site is served.
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>Base URL</strong></p>
|
||||
<p class="description">Serve the website from the given base URL</p>
|
||||
<p class="description">Serve the website from the given base URL.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
<p><code class="option">baseurl: URL</code></p>
|
||||
<p><code class="flag">--baseurl URL</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>Live Reload</strong></p>
|
||||
<p class="description">Reload a page automatically on the browser when its content is edited.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
<p><code class="option">livereload: true</code></p>
|
||||
<p><code class="flag">--livereload</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>Detach</strong></p>
|
||||
<p class="description">Detach the server from the terminal</p>
|
||||
<p class="description">Detach the server from the terminal.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
<p><code class="option">detach: BOOL</code></p>
|
||||
@@ -371,7 +381,7 @@ before your site is served.
|
||||
</tr>
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>Skips the initial site build.</strong></p>
|
||||
<p class="name"><strong>Skips the initial site build</strong></p>
|
||||
<p class="description">Skips the initial site build which occurs before the server is started.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
@@ -381,7 +391,7 @@ before your site is served.
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>X.509 (SSL) Private Key</strong></p>
|
||||
<p class="description">SSL Private Key.</p>
|
||||
<p class="description">SSL Private Key, stored or symlinked in the site source.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
<p><code class="flag">--ssl-key</code></p>
|
||||
@@ -390,7 +400,7 @@ before your site is served.
|
||||
<tr class="setting">
|
||||
<td>
|
||||
<p class="name"><strong>X.509 (SSL) Certificate</strong></p>
|
||||
<p class="description">SSL Public certificate.</p>
|
||||
<p class="description">SSL Public certificate, stored or symlinked in the site source.</p>
|
||||
</td>
|
||||
<td class="align-center">
|
||||
<p><code class="flag">--ssl-cert</code></p>
|
||||
|
||||
@@ -34,7 +34,7 @@ gem 'jekyll'
|
||||
gem 'html-proofer'
|
||||
```
|
||||
|
||||
CircleCI detects when `Gemfile` is present is will automatically run `bundle install` for you in the `dependencies` phase.
|
||||
CircleCI detects when `Gemfile` is present and will automatically run `bundle install` for you in the `dependencies` phase.
|
||||
|
||||
## 3. Testing
|
||||
|
||||
@@ -105,6 +105,13 @@ jobs:
|
||||
- run:
|
||||
name: Bundle Install
|
||||
command: bundle check || bundle install
|
||||
- save_cache:
|
||||
key: rubygems-v1-{% raw %}{{ checksum "Gemfile.lock" }}{% endraw %}
|
||||
paths:
|
||||
- vendor/bundle
|
||||
- run:
|
||||
name: Jekyll build
|
||||
command: bundle exec jekyll build
|
||||
- run:
|
||||
name: HTMLProofer tests
|
||||
command: |
|
||||
@@ -113,13 +120,6 @@ jobs:
|
||||
--check-favicon \
|
||||
--check-html \
|
||||
--disable-external
|
||||
- save_cache:
|
||||
key: rubygems-v1-{% raw %}{{ checksum "Gemfile.lock" }}{% endraw %}
|
||||
paths:
|
||||
- vendor/bundle
|
||||
- run:
|
||||
name: Jekyll build
|
||||
command: bundle exec jekyll build
|
||||
- persist_to_workspace:
|
||||
root: ./
|
||||
paths:
|
||||
|
||||
@@ -8,7 +8,7 @@ Hi there! Interested in contributing to Jekyll? We'd love your help. Jekyll is a
|
||||
|
||||
## Where to get help or report a problem
|
||||
|
||||
See [the support guidelines](https://jekyllrb.com/docs/support/)
|
||||
See the [support guidelines](https://jekyllrb.com/docs/support/)
|
||||
|
||||
## Ways to contribute
|
||||
|
||||
@@ -16,9 +16,9 @@ Whether you're a developer, a designer, or just a Jekyll devotee, there are lots
|
||||
|
||||
* [Install Jekyll on your computer](https://jekyllrb.com/docs/installation/) and kick the tires. Does it work? Does it do what you'd expect? If not, [open an issue](https://github.com/jekyll/jekyll/issues/new) and let us know.
|
||||
* Comment on some of the project's [open issues](https://github.com/jekyll/jekyll/issues). Have you experienced the same problem? Know a work around? Do you have a suggestion for how the feature could be better?
|
||||
* Read through [the documentation](https://jekyllrb.com/docs/home/), and click the "improve this page" button, any time you see something confusing, or have a suggestion for something that could be improved.
|
||||
* Browse through [the Jekyll discussion forum](https://talk.jekyllrb.com/), and lend a hand answering questions. There's a good chance you've already experienced what another user is experiencing.
|
||||
* Find [an open issue](https://github.com/jekyll/jekyll/issues) (especially [those labeled `help-wanted`](https://github.com/jekyll/jekyll/issues?q=is%3Aopen+is%3Aissue+label%3Ahelp-wanted)), and submit a proposed fix. If it's your first pull request, we promise we won't bite, and are glad to answer any questions.
|
||||
* Read through the [documentation](https://jekyllrb.com/docs/home/), and click the "improve this page" button, any time you see something confusing, or have a suggestion for something that could be improved.
|
||||
* Browse through the [Jekyll discussion forum](https://talk.jekyllrb.com/), and lend a hand answering questions. There's a good chance you've already experienced what another user is experiencing.
|
||||
* Find an [open issue](https://github.com/jekyll/jekyll/issues) (especially [those labeled `help-wanted`](https://github.com/jekyll/jekyll/issues?q=is%3Aopen+is%3Aissue+label%3Ahelp-wanted)), and submit a proposed fix. If it's your first pull request, we promise we won't bite, and are glad to answer any questions.
|
||||
* Help evaluate [open pull requests](https://github.com/jekyll/jekyll/pulls), by testing the changes locally and reviewing what's proposed.
|
||||
|
||||
## Submitting a pull request
|
||||
@@ -53,7 +53,7 @@ That's it! You'll be automatically subscribed to receive updates as others revie
|
||||
2. Clone the repository locally `git clone https://github.com/<you-username>/jekyll`.
|
||||
3. Create a new, descriptively named branch to contain your change ( `git checkout -b my-awesome-feature` ).
|
||||
4. Hack away, add tests. Not necessarily in that order.
|
||||
5. Make sure everything still passes by running `script/cibuild` (see [the tests section](#running-tests-locally) below)
|
||||
5. Make sure everything still passes by running `script/cibuild` (see the [tests section](#running-tests-locally) below)
|
||||
6. Push the branch up ( `git push origin my-awesome-feature` ).
|
||||
7. Create a pull request by visiting `https://github.com/<your-username>/jekyll` and following the instructions at the top of the screen.
|
||||
|
||||
@@ -93,7 +93,7 @@ If you want to add your plugin to the [list of plugins](https://jekyllrb.com/doc
|
||||
|
||||
## Code Contributions
|
||||
|
||||
Interesting in submitting a pull request? Awesome. Read on. There's a few common gotchas that we'd love to help you avoid.
|
||||
Interested in submitting a pull request? Awesome. Read on. There's a few common gotchas that we'd love to help you avoid.
|
||||
|
||||
### Tests and documentation
|
||||
|
||||
@@ -119,6 +119,8 @@ If your contribution changes any Jekyll behavior, make sure to update the docume
|
||||
Jekyll's methods. It also provides you with helpful methods to quickly create a
|
||||
site or configuration. [Feel free to check it out!](https://github.com/jekyll/jekyll/blob/master/script/console)
|
||||
|
||||
* Previously, we've used the WIP Probot app to help contributors determine whether their pull request is ready for review. Please use a [draft pull request](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests) instead. When you're ready, [mark the pull request as ready for review](https://help.github.com/en/articles/changing-the-stage-of-a-pull-request)
|
||||
|
||||
## Running tests locally
|
||||
|
||||
### Test Dependencies
|
||||
|
||||
@@ -7,9 +7,8 @@ In addition to the [built-in variables](../variables/) available from Jekyll,
|
||||
you can specify your own custom data that can be accessed via the [Liquid
|
||||
templating system](https://wiki.github.com/shopify/liquid/liquid-for-designers).
|
||||
|
||||
Jekyll supports loading data from [YAML](http://yaml.org/), [JSON](http://www.json.org/),
|
||||
and [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) files located in the `_data` directory.
|
||||
Note that CSV files *must* contain a header row.
|
||||
Jekyll supports loading data from [YAML](http://yaml.org/), [JSON](http://www.json.org/), [CSV](https://en.wikipedia.org/wiki/Comma-separated_values), and [TSV](https://en.wikipedia.org/wiki/Tab-separated_values) files located in the `_data` directory.
|
||||
Note that CSV and TSV files *must* contain a header row.
|
||||
|
||||
This powerful feature allows you to avoid repetition in your templates and to
|
||||
set site specific options without changing `_config.yml`.
|
||||
|
||||
@@ -36,6 +36,12 @@ Next, add the following lines to hooks/post-receive and be sure Jekyll is
|
||||
installed on the server:
|
||||
|
||||
```bash
|
||||
#!/bin/bash -l
|
||||
|
||||
# Install Ruby Gems to ~/gems
|
||||
export GEM_HOME=$HOME/gems
|
||||
export PATH=$GEM_HOME/bin:$PATH
|
||||
|
||||
GIT_REPO=$HOME/myrepo.git
|
||||
TMP_GIT_CLONE=$HOME/tmp/myrepo
|
||||
GEMFILE=$TMP_GIT_CLONE/Gemfile
|
||||
|
||||
@@ -9,6 +9,12 @@ permalink: /docs/deployment/third-party/
|
||||
|
||||
Automating the deployment of a Jekyll site is simple. See their [Jekyll docs](https://www.aerobatic.com/docs/static-site-generators/#jekyll) for more details. Your built `_site` folder is deployed to their highly-available, globally distributed hosting service.
|
||||
|
||||
## AWS Amplify
|
||||
|
||||
The [AWS Amplify Console](https://console.amplify.aws) provides continuous deployment and hosting for modern web apps (single page apps and static site generators). Continuous deployment allows developers to deploy updates to their web app on every code commit to their Git repository. Hosting includes features such as globally available CDNs, 1-click custom domain setup + HTTPS, feature branch deployments, redirects, trailing slashes, and password protection.
|
||||
|
||||
Read this [step-by-step guide](https://medium.com/@FizzyInTheHall/build-and-publish-a-jekyll-powered-blog-easily-with-aws-amplify-529852042ab6) to deploy and host your Jekyll site on AWS Amplify.
|
||||
|
||||
## CloudCannon
|
||||
|
||||
[CloudCannon](https://cloudcannon.com) has everything you need to build, host
|
||||
|
||||
@@ -4,7 +4,7 @@ permalink: /docs/front-matter/
|
||||
redirect_from: /docs/frontmatter/index.html
|
||||
---
|
||||
|
||||
Any file that contains a [YAML](http://yaml.org/) front matter block will be
|
||||
Any file that contains a [YAML](https://yaml.org/) front matter block will be
|
||||
processed by Jekyll as a special file. The front matter must be the first thing
|
||||
in the file and must take the form of valid YAML set between triple-dashed
|
||||
lines. Here is a basic example:
|
||||
|
||||
@@ -122,7 +122,7 @@ to see more detailed examples.
|
||||
<h5>Source files must be in the root directory</h5>
|
||||
<p>
|
||||
GitHub Pages <a href="https://help.github.com/articles/troubleshooting-github-pages-build-failures#source-setting">overrides</a>
|
||||
the <a href="/docs/configuration/>“Site Source”</a>
|
||||
the <a href="/docs/configuration/options/">“Site Source”</a>
|
||||
configuration value, so if you locate your files anywhere other than the
|
||||
root directory, your site may not build correctly.
|
||||
</p>
|
||||
|
||||
@@ -4,6 +4,26 @@ permalink: "/docs/history/"
|
||||
note: This file is autogenerated. Edit /History.markdown instead.
|
||||
---
|
||||
|
||||
## 3.8.6 / 2019-07-02
|
||||
{: #v3-8-6}
|
||||
|
||||
### Bug Fixes
|
||||
{: #bug-fixes-v3-8-6}
|
||||
|
||||
- Update log output for an invalid theme directory ([#7734]({{ site.repository }}/issues/7734))
|
||||
- Memoize `SiteDrop#documents` to reduce allocations ([#7722]({{ site.repository }}/issues/7722))
|
||||
- Excerpt handling of custom and intermediate tags ([#7467]({{ site.repository }}/issues/7467))
|
||||
- Escape valid special chars in a site's path name ([#7573]({{ site.repository }}/issues/7573))
|
||||
- Revert memoizing `Site#docs_to_write` and refactor `#documents` ([#7689]({{ site.repository }}/issues/7689))
|
||||
- Fix broken `include_relative` usage in excerpt ([#7690]({{ site.repository }}/issues/7690))
|
||||
- Install platform-specific gems as required (3c06609406)
|
||||
|
||||
### Security Fixes
|
||||
{: #security-fixes-v3-8-6}
|
||||
|
||||
- Theme gems: ensure directories aren't symlinks ([#7424]({{ site.repository }}/issues/7424))
|
||||
|
||||
|
||||
## 3.8.5 / 2018-11-04
|
||||
{: #v3-8-5}
|
||||
|
||||
@@ -77,10 +97,10 @@ note: This file is autogenerated. Edit /History.markdown instead.
|
||||
- Minimize array allocations in the `where` filter ([#6860]({{ site.repository }}/issues/6860))
|
||||
- Bump JRuby ([#6878]({{ site.repository }}/issues/6878))
|
||||
- Assert existence of <collection>.files ([#6907]({{ site.repository }}/issues/6907))
|
||||
- Bump Rubocop to 0.54.x ([#6915]({{ site.repository }}/issues/6915))
|
||||
- Bump RuboCop to 0.54.x ([#6915]({{ site.repository }}/issues/6915))
|
||||
- Regenerate unconditionally unless its an incremental build ([#6917]({{ site.repository }}/issues/6917))
|
||||
- Centralize require statements ([#6910]({{ site.repository }}/issues/6910))
|
||||
- Bump to Rubocop 0.55 ([#6929]({{ site.repository }}/issues/6929))
|
||||
- Bump to RuboCop 0.55 ([#6929]({{ site.repository }}/issues/6929))
|
||||
- Refactor private method `HighlightBlock#parse_options` ([#6822]({{ site.repository }}/issues/6822))
|
||||
|
||||
### Minor Enhancements
|
||||
|
||||
@@ -48,7 +48,9 @@ You could then reference that variable in your include:
|
||||
|
||||
{% raw %}
|
||||
```liquid
|
||||
{% include {{ page.my_variable }} %}
|
||||
{% if page.my_variable %}
|
||||
{% include {{ page.my_variable }} %}
|
||||
{% endif %}
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Jekyll is a [Ruby Gem](/docs/ruby-101/#gems) that can be installed on most syste
|
||||
|
||||
## Requirements
|
||||
|
||||
* [Ruby](https://www.ruby-lang.org/en/downloads/) version 2.2.5 or above, including all development headers (ruby version can be checked by running `ruby -v`)
|
||||
* [Ruby](https://www.ruby-lang.org/en/downloads/) version {{ site.min_ruby_version }} or above, including all development headers (ruby version can be checked by running `ruby -v`)
|
||||
* [RubyGems](https://rubygems.org/pages/download) (which you can check by running `gem -v`)
|
||||
* [GCC](https://gcc.gnu.org/install/) and [Make](https://www.gnu.org/software/make/) (in case your system doesn't have them installed, which you can check by running `gcc -v`,`g++ -v` and `make -v` in your system's command line interface)
|
||||
|
||||
|
||||
@@ -3,45 +3,55 @@ title: Jekyll on macOS
|
||||
permalink: /docs/installation/macos/
|
||||
---
|
||||
|
||||
## Install Command Line Tools
|
||||
First, you need to install the command-line tools to be able to compile native extensions, open a terminal and run:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
## Set up Ruby included with the OS
|
||||
## Install Ruby
|
||||
|
||||
Check your Ruby version meets our requirements. Jekyll requires Ruby 2.2.5 or above. If you're running an older version you'll need to [install a more recent Ruby version via Homebrew](#homebrew).
|
||||
|
||||
```sh
|
||||
ruby -v
|
||||
2.3.3
|
||||
```
|
||||
|
||||
Now install Jekyll and [Bundler](/docs/ruby-101/#bundler).
|
||||
|
||||
```sh
|
||||
gem install bundler jekyll
|
||||
```
|
||||
|
||||
### Install a newer Ruby version via Homebrew {#homebrew}
|
||||
|
||||
If you wish to install the latest version of Ruby and get faster builds, we recommend doing it via [Homebrew](https://brew.sh) a handy package manager for macOS.
|
||||
Jekyll requires Ruby > {{ site.min_ruby_version }}.
|
||||
As macOS Mojave 10.14 comes only with ruby 2.3.x, you'll have to install a newer version of Ruby.
|
||||
|
||||
### With Homebrew {#brew}
|
||||
To run the latest Ruby version you need to install it through [Homebrew](https://brew.sh).
|
||||
|
||||
```sh
|
||||
# Install Homebrew
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
||||
brew install ruby
|
||||
ruby -v
|
||||
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
|
||||
```
|
||||
|
||||
### Install multiple Ruby versions with rbenv {#rbenv}
|
||||
Don't forget to add the brew ruby path to your shell config :
|
||||
|
||||
Developers often use [rbenv](https://github.com/rbenv/rbenv) to manage multiple
|
||||
Ruby versions. This can be useful if you want to run the same Ruby version used
|
||||
by your colleagues/collaborators.
|
||||
```
|
||||
export PATH=/usr/local/opt/ruby/bin:$PATH
|
||||
```
|
||||
|
||||
Then relaunch your terminal and check your updated Ruby setup:
|
||||
|
||||
```sh
|
||||
which ruby
|
||||
# /usr/local/opt/ruby/bin/ruby
|
||||
|
||||
ruby -v
|
||||
# ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
|
||||
```
|
||||
|
||||
Yay, we are now running current stable Ruby!
|
||||
|
||||
### With rbenv {#rbenv}
|
||||
|
||||
People often use [rbenv](https://github.com/rbenv/rbenv) to manage multiple
|
||||
Ruby versions. This is very useful when you need to be able to run a given Ruby version on a project.
|
||||
|
||||
```sh
|
||||
# Install Homebrew
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
||||
# Install rbenv and ruby-build
|
||||
brew install rbenv
|
||||
|
||||
@@ -53,17 +63,73 @@ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor
|
||||
```
|
||||
|
||||
Restart your terminal for changes to take effect.
|
||||
Now we can install the Ruby version of our choice, let's go with Ruby 2.5.1 here:
|
||||
Now you can install the Ruby version of our choice, let's go with current latest stable Ruby:
|
||||
|
||||
```sh
|
||||
rbenv install 2.5.1
|
||||
rbenv global 2.5.1
|
||||
rbenv install 2.6.2
|
||||
rbenv global 2.6.2
|
||||
ruby -v
|
||||
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
|
||||
# ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
|
||||
```
|
||||
|
||||
That's it! Head over [rbenv command references](https://github.com/rbenv/rbenv#command-reference) to learn how to use different versions of Ruby in your projects.
|
||||
|
||||
### Problems?
|
||||
## Install Jekyll
|
||||
|
||||
Now all that is left is installing [Bundler](/docs/ruby-101/#bundler) and Jekyll.
|
||||
|
||||
### Local Install
|
||||
|
||||
```sh
|
||||
gem install --user-install bundler jekyll
|
||||
```
|
||||
|
||||
and then get your Ruby version using
|
||||
|
||||
```sh
|
||||
ruby -v
|
||||
# ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
|
||||
```
|
||||
|
||||
Then append your path file with the following, replacing the `X.X` with the first two digits of your Ruby version.
|
||||
|
||||
```
|
||||
export PATH=$HOME/.gem/ruby/X.X.0/bin:$PATH
|
||||
```
|
||||
|
||||
To check your that you gem paths point to your home directory run:
|
||||
|
||||
```sh
|
||||
gem env
|
||||
```
|
||||
|
||||
And check that `GEM PATHS:` points to a path in your home directory
|
||||
|
||||
{: .note }
|
||||
Every time you update Ruby to a version with a different first two digits, you will need to update your path to match.
|
||||
|
||||
### Global Install
|
||||
|
||||
{: .note .warning}
|
||||
We strongly recommend against installing Ruby gems globally to avoid file permissions problems and using `sudo`.
|
||||
|
||||
#### On Mojave (10.14)
|
||||
|
||||
Because of SIP Protections in Mojave, you must run:
|
||||
|
||||
```sh
|
||||
sudo gem install bundler
|
||||
sudo gem install -n /usr/local/bin/ jekyll
|
||||
```
|
||||
|
||||
#### Before Mojave (<10.14)
|
||||
|
||||
You only have to run:
|
||||
|
||||
```sh
|
||||
sudo gem install bundler jekyll
|
||||
```
|
||||
|
||||
## Problems?
|
||||
|
||||
Check out the [troubleshooting](/docs/troubleshooting/) page or [ask for help on our forum](https://talk.jekyllrb.com).
|
||||
|
||||
@@ -6,7 +6,7 @@ Before we install Jekyll, we need to make sure we have all the required
|
||||
dependencies.
|
||||
|
||||
```sh
|
||||
sudo apt-get install ruby ruby-dev build-essential
|
||||
sudo apt-get install ruby-full build-essential zlib1g-dev
|
||||
```
|
||||
|
||||
It is best to avoid installing Ruby Gems as the root user. Therefore, we need to
|
||||
@@ -16,8 +16,8 @@ the gem installation path. Run them now:
|
||||
|
||||
```sh
|
||||
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
|
||||
echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc
|
||||
echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc
|
||||
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
|
||||
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
```
|
||||
|
||||
|
||||
@@ -5,66 +5,36 @@ redirect_from:
|
||||
- /docs/windows/
|
||||
---
|
||||
|
||||
While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to collect some of the general knowledge and lessons that have been unearthed by Windows users.
|
||||
While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks. This page aims to
|
||||
collect some of the general knowledge and lessons that have been unearthed by Windows users.
|
||||
|
||||
|
||||
## Installing Jekyll
|
||||
The easiest way to run Jekyll is by using the [RubyInstaller](https://rubyinstaller.org/) for Windows.
|
||||
|
||||
### Installation via RubyInstaller
|
||||
|
||||
[RubyInstaller](https://rubyinstaller.org/) is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.
|
||||
We only cover RubyInstaller-2.4 and newer here, older versions need to [install the Devkit](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit) manually.
|
||||
The easiest way to run Jekyll is by using the [RubyInstaller](https://rubyinstaller.org/) for Windows.
|
||||
|
||||
RubyInstaller is a self-contained Windows-based installer that includes the Ruby language, an execution environment,
|
||||
important documentation, and more.
|
||||
We only cover RubyInstaller-2.4 and newer here, older versions need to
|
||||
[install the Devkit](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit) manually.
|
||||
|
||||
1. Download and Install a **Ruby+Devkit** version from [RubyInstaller Downloads](https://rubyinstaller.org/downloads/).
|
||||
Use default options for installation.
|
||||
2. Open a new command prompt window from the start menu, so that changes to the `PATH` environment variable becomes effective.
|
||||
2. Run the `ridk install` step on the last stage of the installation wizard. This is needed for installing gems with native
|
||||
extensions. You can find additional information regarding this in the
|
||||
[RubyInstaller Documentation](https://github.com/oneclick/rubyinstaller2#using-the-installer-on-a-target-system)
|
||||
3. Open a new command prompt window from the start menu, so that changes to the `PATH` environment variable becomes effective.
|
||||
Install Jekyll and Bundler via: `gem install jekyll bundler`
|
||||
3. Check if Jekyll installed properly: `jekyll -v`
|
||||
4. Check if Jekyll installed properly: `jekyll -v`
|
||||
|
||||
That's it, you're ready to use Jekyll!
|
||||
|
||||
### Encoding
|
||||
|
||||
If you use UTF-8 encoding, make sure that no `BOM` header characters exist in your files or very, very bad things will happen to
|
||||
Jekyll. This is especially relevant when you're running Jekyll on Windows.
|
||||
|
||||
Additionally, you might need to change the code page of the console window to UTF-8 in case you get a "Liquid Exception: Incompatible character encoding" error during the site generation process. It can be done with the following command:
|
||||
|
||||
```sh
|
||||
chcp 65001
|
||||
```
|
||||
|
||||
### Time-Zone Management
|
||||
|
||||
Since Windows doesn't have a native source of zoneinfo data, the Ruby Interpreter would not understand IANA Timezones and hence using them had the `TZ` environment variable default to UTC/GMT 00:00.
|
||||
Though Windows users could alternatively define their blog's timezone by setting the key to use POSIX format of defining timezones, it wasn't as user-friendly when it came to having the clock altered to changing DST-rules.
|
||||
|
||||
Jekyll now uses a rubygem to internally configure Timezone based on established [IANA Timezone Database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
||||
While 'new' blogs created with Jekyll v3.4 and greater, will have the following added to their `Gemfile` by default, existing sites *will* have to update their `Gemfile` (and installed) to enable development on Windows:
|
||||
|
||||
```ruby
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||
```
|
||||
|
||||
### Auto Regeneration
|
||||
|
||||
Jekyll uses the `listen` gem to watch for changes when the `--watch` switch is specified during a build or serve. While `listen` has built-in support for UNIX systems, it may require an extra gem for compatibility with Windows.
|
||||
|
||||
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
|
||||
|
||||
```ruby
|
||||
gem 'wdm', '~> 0.1.1' if Gem.win_platform?
|
||||
```
|
||||
|
||||
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller.
|
||||
|
||||
|
||||
## Installation via Bash on Windows 10
|
||||
|
||||
If you are using Windows 10 version 1607 or later, another option to run Jekyll is by [installing](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide) the Windows Subsystem for Linux.
|
||||
### Installation via Bash on Windows 10
|
||||
|
||||
If you are using Windows 10 version 1607 or later, another option to run Jekyll is by
|
||||
[installing](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide) the Windows Subsystem for Linux.
|
||||
|
||||
*Note:* You must have [Windows Subsystem for Linux](https://msdn.microsoft.com/en-us/commandline/wsl/about) enabled.
|
||||
|
||||
@@ -78,7 +48,8 @@ Your Command Prompt instance should now be a Bash instance. Now we must update o
|
||||
```sh
|
||||
sudo apt-get update -y && sudo apt-get upgrade -y
|
||||
```
|
||||
Now we can install Ruby. To do this we will use a repository from [BrightBox](https://www.brightbox.com/docs/ruby/ubuntu/), which hosts optimized versions of Ruby for Ubuntu.
|
||||
Now we can install Ruby. To do this we will use a repository from [BrightBox](https://www.brightbox.com/docs/ruby/ubuntu/),
|
||||
which hosts optimized versions of Ruby for Ubuntu.
|
||||
|
||||
```sh
|
||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
||||
@@ -89,34 +60,90 @@ sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
|
||||
Next let's update our Ruby gems:
|
||||
|
||||
```sh
|
||||
sudo gem update
|
||||
gem update
|
||||
```
|
||||
|
||||
Now all that is left to do is install Jekyll.
|
||||
|
||||
```sh
|
||||
sudo gem install jekyll bundler
|
||||
gem install jekyll bundler
|
||||
```
|
||||
|
||||
(*Note: no `sudo` here.*)
|
||||
|
||||
Check if Jekyll installed properly by running:
|
||||
|
||||
```sh
|
||||
jekyll -v
|
||||
```
|
||||
|
||||
Configure the bundler/gem path so bundle doesn't prompt for sudo
|
||||
|
||||
```sh
|
||||
bundle config path vendor/bundle
|
||||
```
|
||||
|
||||
**And that's it!**
|
||||
|
||||
You can make sure time management is working properly by inspecting your `_posts` folder. You should see a markdown file with the current date in the filename.
|
||||
You can make sure time management is working properly by inspecting your `_posts` folder. You should see a markdown file
|
||||
with the current date in the filename.
|
||||
|
||||
<div class="note info">
|
||||
<h5>Non-superuser account issues</h5>
|
||||
<p>If the `jekyll new` command prints the error "Your user account isn't allowed to install to the system RubyGems", see the "Running Jekyll as Non-Superuser" instructions in <a href="/docs/troubleshooting/#no-sudo">Troubleshooting</a>.</p>
|
||||
<p>If the `jekyll new` command prints the error "Your user account isn't allowed to install to the system RubyGems", see
|
||||
the "Running Jekyll as Non-Superuser" instructions in <a href="/docs/troubleshooting/#no-sudo">Troubleshooting</a>.</p>
|
||||
</div>
|
||||
|
||||
**Note:** Bash on Ubuntu on Windows is still under development, so you may run into issues.
|
||||
|
||||
|
||||
## Encoding
|
||||
|
||||
If you use UTF-8 encoding, make sure that no `BOM` header characters exist in your files or very, very bad things will happen to
|
||||
Jekyll. This is especially relevant when you're running Jekyll on Windows.
|
||||
|
||||
Additionally, you might need to change the code page of the console window to UTF-8 in case you get a
|
||||
`Liquid Exception: Incompatible character encoding` error during the site generation process. It can be done with the following
|
||||
command:
|
||||
|
||||
```sh
|
||||
chcp 65001
|
||||
```
|
||||
|
||||
## Time-Zone Management
|
||||
|
||||
Since Windows doesn't have a native source of zoneinfo data, the Ruby Interpreter would not understand IANA Timezones and hence
|
||||
using them had the `TZ` environment variable default to UTC/GMT 00:00.
|
||||
|
||||
Though Windows users could alternatively define their blog's timezone by setting the key to use POSIX format of defining
|
||||
timezones, it wasn't as user-friendly when it came to having the clock altered to changing DST-rules.
|
||||
|
||||
Jekyll now uses a rubygem to internally configure Timezone based on established
|
||||
[IANA Timezone Database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
||||
While 'new' blogs created with Jekyll v3.4 and greater, will have the following added to their `Gemfile` by default, existing
|
||||
sites *will* have to update their `Gemfile` (and installed) to enable development on Windows:
|
||||
|
||||
```ruby
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||
```
|
||||
|
||||
<div class="note warning">
|
||||
<h5>TZInfo 2.0 incompatibility</h5>
|
||||
<p>
|
||||
<code>v2.0</code> of the TZInfo library has introduced a change in how timezone offsets are calculated.
|
||||
This will result in incorrect date and time for your posts when the site is built with Jekyll 3.x on Windows.
|
||||
</p>
|
||||
<p>
|
||||
We therefore recommend that you lock the Timezone library to <code>v1.2</code> and above by listing
|
||||
<code>gem 'tzinfo', '~> 1.2'</code> in your <code>Gemfile</code>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
## Auto Regeneration
|
||||
|
||||
Jekyll uses the `listen` gem to watch for changes when the `--watch` switch is specified during a build or serve.
|
||||
While `listen` has built-in support for UNIX systems, it may require an extra gem for compatibility with Windows.
|
||||
|
||||
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
|
||||
|
||||
```ruby
|
||||
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
|
||||
```
|
||||
|
||||
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller and install
|
||||
the MSYS2 build tools to successfully install the `wdm` gem.
|
||||
|
||||
@@ -11,6 +11,20 @@ Layouts live in the `_layouts` directory. The convention is to have a base
|
||||
template called `default.html` and have other layouts [inherit](#inheritance)
|
||||
from this as needed.
|
||||
|
||||
<div class="note">
|
||||
<h5>Layouts Directory</h5>
|
||||
<p>
|
||||
Jekyll looks for the <code>_layouts</code> directory either at the root of
|
||||
your site's <code>source</code> or at the root of your theme.
|
||||
</p>
|
||||
<p>
|
||||
While you can configure the directory name in which your layouts can reside by
|
||||
setting the <code>layouts_dir</code> key in your config file, the directory
|
||||
itself should be located at the root of your site's <code>source</code> directory.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
The first step is to put the template source code in `default.html`. `content`
|
||||
|
||||
@@ -104,6 +104,21 @@ The default is `default`. They are as follows (with what they filter):
|
||||
- `ascii`: spaces, non-alphanumeric, and non-ASCII characters
|
||||
- `latin`: like `default`, except Latin characters are first transliterated (e.g. `àèïòü` to `aeiou`) {%- include docs_version_badge.html version="3.7.0" -%}.
|
||||
|
||||
### Detecting `nil` values with `where` filter {%- include docs_version_badge.html version="4.0.0" -%}
|
||||
|
||||
You can use the `where` filter to detect documents and pages with properties that are `nil` or `""`. For example,
|
||||
|
||||
```liquid
|
||||
// Using `nil` to select posts that either do not have `my_prop` defined or `my_prop` has been set to `nil` explicitly.
|
||||
{% raw %}{% assign filtered_posts = site.posts | where: 'my_prop', nil %}{% endraw %}
|
||||
```
|
||||
|
||||
```liquid
|
||||
// Using Liquid's special literal `empty` or `blank` to select posts that have `my_prop` set to an empty value.
|
||||
{% raw %}{% assign filtered_posts = site.posts | where: 'my_prop', empty %}{% endraw %}
|
||||
```
|
||||
|
||||
|
||||
### Standard Liquid Filters
|
||||
|
||||
For your convenience, here is the list of all [Liquid filters]({{ page.shopify_filter_url }}) with links to examples in the official Liquid documentation.
|
||||
|
||||
@@ -78,7 +78,17 @@ end
|
||||
|
||||
In order for the highlighting to show up, you’ll need to include a highlighting
|
||||
stylesheet. For Pygments or Rouge you can use a stylesheet for Pygments, you
|
||||
can find an example gallery [here](http://help.farbox.com/pygments.html).
|
||||
can find an example gallery
|
||||
[here](https://jwarby.github.io/jekyll-pygments-themes/languages/ruby.html)
|
||||
or from [its repository](https://github.com/jwarby/jekyll-pygments-themes).
|
||||
|
||||
Copy the CSS file (`native.css` for example) into your css directory and import
|
||||
the syntax highlighter styles into your `main.css`:
|
||||
|
||||
```css
|
||||
@import "native.css";
|
||||
```
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
@@ -90,10 +100,10 @@ You must include the file's original extension when using the `link` tag. Here a
|
||||
|
||||
{% raw %}
|
||||
```liquid
|
||||
{{ site.baseurl }}{% link _collection/name-of-document.md %}
|
||||
{{ site.baseurl }}{% link _posts/2016-07-26-name-of-post.md %}
|
||||
{{ site.baseurl }}{% link news/index.html %}
|
||||
{{ site.baseurl }}{% link /assets/files/doc.pdf %}
|
||||
{% link _collection/name-of-document.md %}
|
||||
{% link _posts/2016-07-26-name-of-post.md %}
|
||||
{% link news/index.html %}
|
||||
{% link /assets/files/doc.pdf %}
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
@@ -101,14 +111,15 @@ You can also use the `link` tag to create a link in Markdown as follows:
|
||||
|
||||
{% raw %}
|
||||
```liquid
|
||||
[Link to a document]({{ site.baseurl }}{% link _collection/name-of-document.md %})
|
||||
[Link to a post]({{ site.baseurl }}{% link _posts/2016-07-26-name-of-post.md %})
|
||||
[Link to a page]({{ site.baseurl }}{% link news/index.html %})
|
||||
[Link to a file]({{ site.baseurl }}{% link /assets/files/doc.pdf %})
|
||||
[Link to a document]({% link _collection/name-of-document.md %})
|
||||
[Link to a post]({% link _posts/2016-07-26-name-of-post.md %})
|
||||
[Link to a page]({% link news/index.html %})
|
||||
[Link to a file]({% link /assets/files/doc.pdf %})
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
(Including `{% raw %}{{ site.baseurl }}{% endraw %}` is optional — it depends on whether you want to preface the page URL with the `baseurl` value.)
|
||||
{: .note }
|
||||
Since {% include docs_version_badge.html version="v4.0"%} you don't need to prepend `link` tags with `site.baseurl`
|
||||
|
||||
The path to the post, page, or collection is defined as the path relative to the root directory (where your config file is) to the file, not the path from your existing page to the other page.
|
||||
|
||||
|
||||
@@ -145,9 +145,7 @@ page with links to all but the current page.
|
||||
{% if paginator.total_pages > 1 %}
|
||||
<div class="pagination">
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path | relative_url }}">
|
||||
« Prev
|
||||
</a>
|
||||
<a href="{{ paginator.previous_page_path | relative_url }}">« Prev</a>
|
||||
{% else %}
|
||||
<span>« Prev</span>
|
||||
{% endif %}
|
||||
@@ -156,20 +154,14 @@ page with links to all but the current page.
|
||||
{% if page == paginator.page %}
|
||||
<em>{{ page }}</em>
|
||||
{% elsif page == 1 %}
|
||||
<a href="{{ paginator.previous_page_path | relative_url }}">
|
||||
{{ page }}
|
||||
</a>
|
||||
<a href="{{ paginator.previous_page_path | relative_url }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">
|
||||
{{ page }}
|
||||
</a>
|
||||
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ paginator.next_page_path | relative_url }}">
|
||||
Next »
|
||||
</a>
|
||||
<a href="{{ paginator.next_page_path | relative_url }}">Next »</a>
|
||||
{% else %}
|
||||
<span>Next »</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -14,7 +14,7 @@ The simplest way to set a permalink is using front matter. You set the
|
||||
|
||||
For example, you might have a page on your site located at
|
||||
`/my_pages/about-me.html` and you want the output url to be `/about/`. In
|
||||
front matter the page you would set:
|
||||
front matter of the page you would set:
|
||||
|
||||
```
|
||||
---
|
||||
@@ -25,7 +25,7 @@ permalink: /about/
|
||||
## Global
|
||||
|
||||
Setting a permalink in front matter for every page on your site is no fun.
|
||||
Luckily, Jekyll let's you set in globally in your `_config.yml`.
|
||||
Luckily, Jekyll lets you set the permalink structure globally in your `_config.yml`.
|
||||
|
||||
To set a global permalink, you use the `permalink` variable in `_config.yml`.
|
||||
You can use placeholders to your desired output. For example:
|
||||
@@ -61,8 +61,19 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Year from the post's filename. May be overridden via the document’s
|
||||
<code>date</code> front matter
|
||||
Year from the post’s filename with four digits.
|
||||
May be overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>short_year</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Year from the post’s filename without the century. (00..99)
|
||||
May be overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -72,8 +83,8 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Month from the post's filename. May be overridden via the document’s
|
||||
<code>date</code> front matter
|
||||
Month from the post’s filename. (01..12)
|
||||
May be overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -83,19 +94,36 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Month without leading zeros from the post's filename. May be
|
||||
overridden via the document’s <code>date</code> front matter
|
||||
Month without leading zeros from the post’s filename. May be
|
||||
overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>short_month</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>Three-letter month abbreviation, e.g. “Jan”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>long_month</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>Full month name, e.g. “January”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>day</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Day from the post's filename. May be overridden via the document’s
|
||||
<code>date</code> front matter
|
||||
Day of the month from the post’s filename. (01..31)
|
||||
May be overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -105,8 +133,8 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Day without leading zeros from the post's filename. May be overridden
|
||||
via the document’s <code>date</code> front matter
|
||||
Day of the month without leading zeros from the post’s filename.
|
||||
May be overridden via the document’s <code>date</code> front matter.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -115,18 +143,52 @@ Here's the full list of placeholders available:
|
||||
<p><code>y_day</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>Day of the year from the post's filename, with leading zeros.</p>
|
||||
<p>Ordinal day of the year from the post’s filename, with leading zeros. (001..366)</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>short_year</code></p>
|
||||
<p><code>w_year</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Year without the century from the post's filename. May be overridden
|
||||
via the document’s <code>date</code> front matter
|
||||
</p>
|
||||
<p>Week year which may differ from the month year for up to three days at the start of January and end of December</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>week</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>Week number of the current year, starting with the first week having a majority of its days in January. (01..53)</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>w_day</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>Day of the week, starting with Monday. (1..7)</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>short_day</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>Three-letter weekday abbreviation, e.g. “Sun”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>long_day</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p>Weekday name, e.g. “Sunday”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -135,7 +197,7 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Hour of the day, 24-hour clock, zero-padded from the post's
|
||||
Hour of the day, 24-hour clock, zero-padded from the post’s
|
||||
<code>date</code> front matter. (00..23)
|
||||
</p>
|
||||
</td>
|
||||
@@ -146,7 +208,7 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Minute of the hour from the post's <code>date</code> front matter. (00..59)
|
||||
Minute of the hour from the post’s <code>date</code> front matter. (00..59)
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -156,7 +218,7 @@ Here's the full list of placeholders available:
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Second of the minute from the post's <code>date</code> front matter. (00..59)
|
||||
Second of the minute from the post’s <code>date</code> front matter. (00..59)
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -237,6 +299,15 @@ For posts, Jekyll also provides the following built-in styles for convenience:
|
||||
<p><code>/:categories/:year/:y_day/:title:output_ext</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>weekdate</code></p>
|
||||
<small>{% include docs_version_badge.html version="4.0.0" %}</small>
|
||||
</td>
|
||||
<td>
|
||||
<p><code>/:categories/:year/W:week/:short_day/:title:output_ext</code></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><code>none</code></p>
|
||||
|
||||
@@ -44,22 +44,6 @@ This is a more complex generator that generates new pages:
|
||||
|
||||
```ruby
|
||||
module Jekyll
|
||||
class CategoryPage < Page
|
||||
def initialize(site, base, dir, category)
|
||||
@site = site
|
||||
@base = base
|
||||
@dir = dir
|
||||
@name = 'index.html'
|
||||
|
||||
self.process(@name)
|
||||
self.read_yaml(File.join(base, '_layouts'), 'category_index.html')
|
||||
self.data['category'] = category
|
||||
|
||||
category_title_prefix = site.config['category_title_prefix'] || 'Category: '
|
||||
self.data['title'] = "#{category_title_prefix}#{category}"
|
||||
end
|
||||
end
|
||||
|
||||
class CategoryPageGenerator < Generator
|
||||
safe true
|
||||
|
||||
@@ -72,6 +56,23 @@ module Jekyll
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# A Page subclass used in the `CategoryPageGenerator`
|
||||
class CategoryPage < Page
|
||||
def initialize(site, base, dir, category)
|
||||
@site = site
|
||||
@base = base
|
||||
@dir = dir
|
||||
@name = 'index.html'
|
||||
|
||||
self.process(@name)
|
||||
self.read_yaml(File.join(base, '_layouts'), 'category_index.html')
|
||||
self.data['category'] = category
|
||||
|
||||
category_title_prefix = site.config['category_title_prefix'] || 'Category: '
|
||||
self.data['title'] = "#{category_title_prefix}#{category}"
|
||||
end
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
|
||||
@@ -70,3 +70,46 @@ And we would get something like this on the page:
|
||||
```html
|
||||
<p>page rendered at: Tue June 22 23:38:47 –0500 2010</p>
|
||||
```
|
||||
|
||||
## Tag Blocks
|
||||
|
||||
The `render_time` tag seen above can also be rewritten as a tag block by
|
||||
inheriting the `Liquid::Block` class. Look at the example below:
|
||||
|
||||
```ruby
|
||||
module Jekyll
|
||||
class RenderTimeTagBlock < Liquid::Block
|
||||
|
||||
def render(context)
|
||||
text = super
|
||||
"<p>#{text} #{Time.now}</p>"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_tag('render_time', Jekyll::RenderTimeTagBlock)
|
||||
```
|
||||
|
||||
We can now use the tag block anywhere:
|
||||
|
||||
{% raw %}
|
||||
```liquid
|
||||
{% render_time %}
|
||||
page rendered at:
|
||||
{% endrender_time %}
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
And we would still get the same output as above on the page:
|
||||
|
||||
```html
|
||||
<p>page rendered at: Tue June 22 23:38:47 –0500 2010</p>
|
||||
```
|
||||
|
||||
<div class="note info">
|
||||
<p>In the above example, the tag block and the tag are both registered with
|
||||
the name <code>render_time</code> but to register a tag and a tag block using
|
||||
the same name in the same project is not recommended as this may lead to
|
||||
conflicts.</p>
|
||||
</div>
|
||||
@@ -140,7 +140,7 @@ tags: [hot, summer]
|
||||
```
|
||||
|
||||
Jekyll makes the categories available to us at `site.categories`. Iterating over
|
||||
`site.categories` on a page gives as another array with two items, the first
|
||||
`site.categories` on a page gives us another array with two items, the first
|
||||
item is the name of the category and the second item is an array of posts in that
|
||||
category.
|
||||
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
---
|
||||
title: Resources
|
||||
permalink: /docs/resources/
|
||||
---
|
||||
|
||||
Jekyll's growing use is producing a wide variety of tutorials, frameworks, extensions, examples, and other resources that can be very helpful. Below is a collection of links to some of the most popular Jekyll resources.
|
||||
|
||||
## Editors
|
||||
|
||||
- [jekyll-atom](https://atom.io/packages/jekyll): A collection of snippets and tools for Jekyll in Atom
|
||||
- [markdown-writer](https://atom.io/packages/markdown-writer): An Atom package for Jekyll. It can create new posts/drafts, manage tags/categories, insert link/images and add many useful key mappings.
|
||||
- [sublime-jekyll](https://github.com/23maverick23/sublime-jekyll): A Sublime Text package for Jekyll static sites. This package should help creating Jekyll sites and posts easier by providing access to key template tags and filters, as well as common completions and a current date/datetime command (for dating posts). You can install this package manually via GitHub, or via [Package Control](https://packagecontrol.io/packages/Jekyll).
|
||||
- [vim-jekyll](https://github.com/parkr/vim-jekyll): A vim plugin to generate new posts and run `jekyll build` all without leaving vim.
|
||||
- [WordPress2Jekyll](https://wordpress.org/plugins/wp2jekyll/): A WordPress plugin that allows you to use WordPress as your editor and (automatically) export content in to Jekyll. WordPress2Jekyll attempts to marry these two systems together in order to make a site that can be easily managed from all devices.
|
||||
|
||||
## Useful Guides
|
||||
|
||||
- [CloudCannon Academy](https://learn.cloudcannon.com/) is a set of resources created by [CloudCannon](https://cloudcannon.com/) to help folks get up and running with Jekyll. They cover all skill levels, and even include some great video tutorials.
|
||||
- [Jekyll Cheatsheet](https://learn.cloudcannon.com/jekyll-cheat-sheet/) is a single-page resource for Jekyll filters, variables, and the like.
|
||||
- ["Creating and Hosting a Personal Site on GitHub"](http://jmcglone.com/guides/github-pages/)
|
||||
- ['Build A Blog With Jekyll And GitHub Pages' on Smashing Magazine](https://www.smashingmagazine.com/2014/08/01/build-blog-jekyll-github-pages/)
|
||||
- Publishing to GitHub Pages? [Check out our documentation page for just that purpose](/docs/github-pages/).
|
||||
- [Blogging with Git, Emacs and Jekyll](https://metajack.im/2009/01/23/blogging-with-git-emacs-and-jekyll/)
|
||||
- [Tips for working with GitHub Pages Integration](https://gist.github.com/jedschneider/2890453)
|
||||
|
||||
## Integrations
|
||||
|
||||
- Use a SaaS service as a backend for forms (contact forms, hiring forms, etc.)
|
||||
|
||||
- [Formspree (open source)](https://formspree.io/)
|
||||
- [FormKeep](https://formkeep.com/guides/contact-form-jekyll?utm_source=github&utm_medium=jekyll-docs&utm_campaign=contact-form-jekyll)
|
||||
- [Simple Form](https://getsimpleform.com/)
|
||||
- [Formingo](https://www.formingo.co/guides/jekyll?utm_source=github&utm_medium=jekyll-docs&utm_campaign=Jekyll%20Documentation)
|
||||
- [Formester](http://www.formester.com)
|
||||
- [Talkyard](https://www.talkyard.io/blog-comments): Embedded comments for Jekyll and others (free and open source, or hosted serverless)
|
||||
- [Staticman](https://staticman.net): Add user-generated content to a Jekyll site (free and open source)
|
||||
- [Snipcart](https://snipcart.com/blog/static-site-e-commerce-part-2-integrating-snipcart-with-jekyll): Add a shopping cart to a Jekyll site
|
||||
- [Contentful](https://www.contentful.com/ecosystem/jekyll/): use Jekyll together with the API-driven Contentful CMS.
|
||||
- [Algolia](https://blog.algolia.com/instant-search-blog-documentation-jekyll-plugin/): Add a powerful instant search to your Jekyll site
|
||||
|
||||
## Other commentary
|
||||
|
||||
- [How I'm using Jekyll in 2016](https://mademistakes.com/articles/using-jekyll-2016/)
|
||||
|
||||
- [Talkyard comments instructions for Jekyll](https://jekyll-demo.talkyard.io/2018/01/09/installation-instructions.html)
|
||||
|
||||
- [Static Comments with Jekyll & Staticman](https://mademistakes.com/articles/improving-jekyll-static-comments/)
|
||||
|
||||
- [Adding Ajax pagination to Jekyll](https://eduardoboucas.com/blog/2014/11/05/adding-ajax-pagination-to-jekyll.html)
|
||||
|
||||
- ['My Jekyll Fork', by Mike West](https://mikewest.org/2009/11/my-jekyll-fork)
|
||||
|
||||
> "Jekyll is a well-architected throwback to a time before WordPress, when men were men, and HTML was static. I like the ideas it espouses, and have made a few improvements to it's core. Here, I'll point out some highlights of my fork in the hopes that they see usage beyond this site."
|
||||
|
||||
- ['About this Website', by Carter Allen](http://cartera.me/2010/08/12/about-this-website/)
|
||||
|
||||
> "Jekyll is everything that I ever wanted in a blogging engine. Really. It isn't perfect, but what's excellent about it is that if there's something wrong, I know exactly how it works and how to fix it. It runs on the your machine only, and is essentially an added"build" step between you and the browser. I coded this entire site in TextMate using standard HTML5 and CSS3, and then at the end I added just a few little variables to the markup. Presto-chango, my site is built and I am at peace with the world."
|
||||
|
||||
- A way to [extend Jekyll](https://github.com/rfelix/jekyll_ext) without forking and modifying the Jekyll gem codebase and some [portable Jekyll extensions](https://wiki.github.com/rfelix/jekyll_ext/extensions) that can be reused and shared.
|
||||
- [Using your Rails layouts in Jekyll](http://numbers.brighterplanet.com/2010/08/09/sharing-rails-views-with-jekyll)
|
||||
@@ -12,7 +12,7 @@ A gem is code you can include in Ruby projects. It allows you to package up func
|
||||
|
||||
* Converting a Ruby object to JSON
|
||||
* Pagination
|
||||
* Interacting with APIs such as Github
|
||||
* Interacting with APIs such as GitHub
|
||||
* Jekyll itself is a gem as well as many Jekyll plugins including
|
||||
[jekyll-feed](https://github.com/jekyll/jekyll-feed),
|
||||
[jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) and
|
||||
|
||||
@@ -22,6 +22,23 @@ terminal:
|
||||
gem install jekyll bundler
|
||||
```
|
||||
|
||||
To create a new `Gemfile` to list your project's dependencies run:
|
||||
|
||||
```
|
||||
bundle init
|
||||
```
|
||||
|
||||
Now edit the `Gemfile`and add jekyll as a dependency:
|
||||
|
||||
```
|
||||
gem "jekyll"
|
||||
```
|
||||
|
||||
Finally run `bundle` to install jekyll for your project.
|
||||
|
||||
You can now prefix all jekyll commands listed in this tutorial with `bundle exec`
|
||||
to make sure you use the jekyll version defined in your `Gemfile`.
|
||||
|
||||
## Create a site
|
||||
|
||||
It's time to create a site! Create a new directory for your site, you can name
|
||||
@@ -54,7 +71,7 @@ content:
|
||||
## Build
|
||||
|
||||
Jekyll is a static site generator so we need Jekyll to build the site
|
||||
before we can view it. There's two commands you can run in the root of your site
|
||||
before we can view it. There are two commands you can run in the root of your site
|
||||
to build it:
|
||||
|
||||
* `jekyll build` - Builds the site and outputs a static site to a directory
|
||||
|
||||
@@ -66,9 +66,19 @@ Now it's your turn, change the Hello World! on your page to output as lowercase:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
It may not seem like it now, but much of Jekyll's power comes from combining
|
||||
Liquid with other features.
|
||||
To get our changes processed by Jekyll we need to add [front matter](03-front-matter/) to the top of the page:
|
||||
|
||||
In order to see the changes from `downcase` Liquid filter, we will need to add front matter.
|
||||
```markdown
|
||||
---
|
||||
# front matter tells Jekyll to process Liquid
|
||||
---
|
||||
```
|
||||
|
||||
Our "Hello World!" will now be downcased on render.
|
||||
|
||||
It may not seem like it now, but much of Jekyll's power comes from combining
|
||||
Liquid with other features.
|
||||
|
||||
In order to see the changes from `downcase` Liquid filter, we will need to add front matter.
|
||||
|
||||
That's next. Let's keep going.
|
||||
|
||||
@@ -43,7 +43,7 @@ Create your first layout at `_layouts/default.html` with the following content:
|
||||
You'll notice this is almost identical to `index.html` except there's
|
||||
no front matter and the content of the page is replaced with a `content`
|
||||
variable. `content` is a special variable which has the value of the rendered
|
||||
content of the page its called on.
|
||||
content of the page it's called on.
|
||||
|
||||
To have `index.html` use this layout, you can set a `layout` variable in front
|
||||
matter. The layout wraps around the content of the page so all you need in
|
||||
|
||||
@@ -3,7 +3,7 @@ layout: step
|
||||
title: Includes
|
||||
position: 5
|
||||
---
|
||||
The site is coming together however, there's no way to navigate between
|
||||
The site is coming together; however, there's no way to navigate between
|
||||
pages. Let's fix that.
|
||||
|
||||
Navigation should be on every page so adding it to your layout is the correct
|
||||
|
||||
@@ -36,8 +36,7 @@ You could use a standard CSS file for styling, we're going to take it a step
|
||||
further by using [Sass](https://sass-lang.com/). Sass is a fantastic extension
|
||||
to CSS baked right into Jekyll.
|
||||
|
||||
First create a Sass file at `/assets/css/styles.scss` with the following
|
||||
content:
|
||||
First create a Sass file at `/assets/css/styles.scss` with the following content:
|
||||
|
||||
{% raw %}
|
||||
```css
|
||||
@@ -49,12 +48,12 @@ content:
|
||||
|
||||
The empty front matter at the top tells Jekyll it needs to process the file. The
|
||||
`@import "main"` tells Sass to look for a file called `main.scss` in the sass
|
||||
directory (`_sass/` by default).
|
||||
directory (`_sass/` by default which is directly under root folder of your website).
|
||||
|
||||
At this stage you'll just have a main css file. For larger projects, this is a
|
||||
great way to keep your CSS organized.
|
||||
|
||||
Create `_sass/main.scss` with the following content:
|
||||
Create a Sass file at `/_sass/main.scss` with the following content:
|
||||
|
||||
```sass
|
||||
.current {
|
||||
|
||||
@@ -21,6 +21,8 @@ collections:
|
||||
authors:
|
||||
```
|
||||
|
||||
To (re)load the configuration, restart the jekyll server. Press `Ctrl`+`C` in your terminal to stop the server, and then `jekyll serve` to restart it.
|
||||
|
||||
## Add authors
|
||||
|
||||
Documents (the items in a collection) live in a folder in the root of the site
|
||||
|
||||
@@ -63,6 +63,15 @@ group :jekyll_plugins do
|
||||
end
|
||||
```
|
||||
|
||||
Then add these lines to your `_config.yml`:
|
||||
|
||||
```
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
- jekyll-sitemap
|
||||
- jekyll-seo-tag
|
||||
```
|
||||
|
||||
Now install them by running a `bundle update`.
|
||||
|
||||
`jekyll-sitemap` doesn't need any setup, it will create your sitemap on build.
|
||||
|
||||
@@ -50,8 +50,16 @@ To locate a theme's files on your computer:
|
||||
```sh
|
||||
# On MacOS
|
||||
open $(bundle show minima)
|
||||
|
||||
# On Windows
|
||||
explorer /usr/local/lib/ruby/gems/2.3.0/gems/minima-2.1.0
|
||||
# First get the gem's installation path:
|
||||
#
|
||||
# bundle show minima
|
||||
# => C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/minima-2.1.0
|
||||
#
|
||||
# then invoke explorer with above path, substituting `/` with `\`
|
||||
explorer C:\Ruby24-x64\lib\ruby\gems\2.4.0\gems\minima-2.1.0
|
||||
|
||||
# On Linux
|
||||
xdg-open $(bundle show minima)
|
||||
```
|
||||
|
||||
@@ -21,7 +21,7 @@ the header files for compiling extension modules for Ruby 2.x This
|
||||
can be done on Ubuntu or Debian by running:
|
||||
|
||||
```sh
|
||||
sudo apt-get install ruby2.3-dev
|
||||
sudo apt-get install ruby2.6-dev
|
||||
```
|
||||
|
||||
On Red Hat, CentOS, and Fedora systems you can do this by running:
|
||||
@@ -138,10 +138,10 @@ jekyll new test
|
||||
|
||||
Running bundle install in /home/user/test...
|
||||
|
||||
Your user account isn't allowed to install to the system RubyGems.
|
||||
Your user account is not allowed to install to the system RubyGems.
|
||||
You can cancel this installation and run:
|
||||
|
||||
bundle install --path vendor/bundle
|
||||
bundle install --path vendor/bundle
|
||||
|
||||
to install the gems into ./vendor/bundle/, or you can enter your password
|
||||
and install the bundled gems to RubyGems using sudo.
|
||||
|
||||
@@ -10,6 +10,7 @@ guides to aid your upgrade:
|
||||
|
||||
- [From 0.x to 1.x and 2.x](/docs/upgrading/0-to-2/)
|
||||
- [From 2.x to 3.x](/docs/upgrading/2-to-3/)
|
||||
- [From 3.x to 4.x](/docs/upgrading/3-to-4/)
|
||||
|
||||
## Minor updates
|
||||
|
||||
|
||||
@@ -3,33 +3,57 @@ title: Upgrading from 3.x to 4.x
|
||||
permalink: /docs/upgrading/3-to-4/
|
||||
---
|
||||
|
||||
Upgrading from an older version of Jekyll? A few things have changed in Jekyll 4
|
||||
that you'll want to know about.
|
||||
A few things have changed in Jekyll 4.
|
||||
|
||||
Before we dive in, you need to have at least Ruby 2.3.0 installed. Run the following
|
||||
in your terminal to check
|
||||
Before we dive in, you need to have at least Ruby {{ site.min_ruby_version }}
|
||||
installed.
|
||||
|
||||
Run the following in your terminal to check
|
||||
|
||||
```sh
|
||||
ruby -v
|
||||
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
|
||||
```
|
||||
|
||||
If you're using Ruby >= 2.3.0, go ahead and fetch the latest version of Jekyll:
|
||||
If you're using a supported Ruby version > {{ site.min_ruby_version }}, go ahead
|
||||
and fetch the latest version of Jekyll:
|
||||
|
||||
```sh
|
||||
gem update jekyll
|
||||
```
|
||||
|
||||
<div class="note warning">
|
||||
<h5><code>post_url</code> Tag and Baseurl</h5>
|
||||
<p> </p>
|
||||
<p>
|
||||
The <code>post_url</code> tag now incorporates the <code>relative_url</code> filter within itself
|
||||
and therefore automatically prepends your site's <code>baseurl</code> to the post's <code>url</code>
|
||||
value.
|
||||
</p>
|
||||
<p>
|
||||
Please ensure that you change all instances of the <code>post_url</code> usage as following:
|
||||
</p>
|
||||
|
||||
### Template rendering
|
||||
{% highlight diff %}
|
||||
{% raw %}
|
||||
- {{ site.baseurl }}/{% post_url 2018-03-20-hello-world.markdown %}
|
||||
+ {% post_url 2018-03-20-hello-world.markdown %}
|
||||
{% endraw %}
|
||||
{% endhighlight %}
|
||||
</div>
|
||||
|
||||
We've slightly altered the way Jekyll parses and renders your various templates to improve
|
||||
the overall build times. Jekyll now parses a template once, caches it internally and then
|
||||
renders the parsed template multiple times as required by your pages and documents.
|
||||
|
||||
The downside to this is that some of the community-authored plugins may not work as they
|
||||
previously used to.
|
||||
## Template rendering
|
||||
|
||||
#### For Plugin-authors
|
||||
We've slightly altered the way Jekyll parses and renders your various templates
|
||||
to improve the overall build times. Jekyll now parses a template once, caches it
|
||||
internally and then renders the parsed template multiple times as required by
|
||||
your pages and documents.
|
||||
|
||||
The downside to this is that some of the community-authored plugins may not work
|
||||
as they previously used to.
|
||||
|
||||
## For plugin authors
|
||||
|
||||
* If your plugin depends on the following code: `site.liquid_renderer.file(path).parse(content)`,
|
||||
note that the return value (`template`, an instance of *`Liquid::Template`*), from that line will
|
||||
@@ -40,12 +64,95 @@ You'll therefore have to ensure that *`payload`* is not memoized or cached in yo
|
||||
* If its a requirement that `template` you get from the above step *be different* at all times,
|
||||
you can invoke *`Liquid::Template`* directly:
|
||||
|
||||
|
||||
```diff
|
||||
- template = site.liquid_renderer.file(path).parse(content)
|
||||
+ template = Liquid::Template.parse(content)
|
||||
```
|
||||
|
||||
---
|
||||
## Exclusion changes
|
||||
|
||||
*Did we miss something? Please click "Improve this page" above and add a section. Thanks!*
|
||||
We've enhanced our default exclusion array.
|
||||
It now looks like the following:
|
||||
|
||||
```yaml
|
||||
# default excludes
|
||||
exclude:
|
||||
- .sass-cache/
|
||||
- .jekyll-cache/
|
||||
- gemfiles/
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
- node_modules/
|
||||
- vendor/bundle/
|
||||
- vendor/cache/
|
||||
- vendor/gems/
|
||||
- vendor/ruby/
|
||||
```
|
||||
|
||||
What's new is that this array **does not get overridden by the `exclude` array
|
||||
in the user's config file anymore**. The user's exclude entries simply get
|
||||
**added** to the above default array (if the entry isn't already excluded).
|
||||
|
||||
To forcibly "process" directories or files that have been excluded, list them
|
||||
in the `include` array instead:
|
||||
|
||||
```yaml
|
||||
# overrides your excluded items configuration and the default include array ([".htaccess"])
|
||||
include:
|
||||
- .htaccess
|
||||
- node_modules/uglifier/index.js
|
||||
```
|
||||
|
||||
The above configuration directs Jekyll to handle only
|
||||
`node_modules/uglifier/index.js` while ignoring every other file in the
|
||||
`node_modules` directory since that directory is "excluded" by default.
|
||||
|
||||
Note that the default `include` array still gets overridden by the `include`
|
||||
array in your config file. So, be sure to add `.htaccess` to the list if you
|
||||
need that file to be present in the generated site.
|
||||
|
||||
## Kramdown v2
|
||||
|
||||
Jekyll has dropped support for `kramdown-1.x` entirely.
|
||||
|
||||
From [`v2.0` onwards](https://kramdown.gettalong.org/news.html#kramdown-200-released)
|
||||
kramdown requires specific extensions to be additionally installed to use
|
||||
certain features are desired outside of kramdown's core functionality.
|
||||
|
||||
Out of all the extensions listed in the report linked above, gem
|
||||
`kramdown-parser-gfm` is automatically installed along with Jekyll 4.0. The
|
||||
remaining extensions will have to be manually installed by the user depending on
|
||||
desired funtionality, by listing the extension's gem-name in their `Gemfile`.
|
||||
|
||||
Notes:
|
||||
* `kramdown-converter-pdf` will be ignored by Jekyll Core. To have Jekyll convert Markdown to PDF
|
||||
you'll have to depend on a plugin that subclasses `Jekyll::Converter` with the
|
||||
[required methods]({% link _docs/plugins/converters.md %}).
|
||||
|
||||
For example:
|
||||
|
||||
```ruby
|
||||
module Jekyll
|
||||
External.require_with_graceful_fail "kramdown-converter-pdf"
|
||||
|
||||
class Markdown2PDF < Converter
|
||||
safe true
|
||||
priority :low
|
||||
|
||||
def matches(ext)
|
||||
# match only files that have an extension exactly ".markdown"
|
||||
ext =~ /^\.markdown$/
|
||||
end
|
||||
|
||||
def convert(content)
|
||||
Kramdown::Document.new(content).to_pdf
|
||||
end
|
||||
|
||||
def output_ext
|
||||
".pdf"
|
||||
end
|
||||
end
|
||||
end
|
||||
```
|
||||
* Vendors that provide a versioned Jekyll Environment Image (e.g. Docker Image, GitHub Pages, etc)
|
||||
will have to manually whitelist kramdown's extension gems in their distributions for Jekyll 4.0.
|
||||
|
||||
@@ -5,17 +5,9 @@
|
||||
<ul>
|
||||
{% for item in section.docs %}
|
||||
{% assign p = site.documents | where: "url", item.link | first %}
|
||||
<li class="{% if p.url == '/docs/' %}
|
||||
{% if page.url == '/docs/' %}current{% endif %}
|
||||
{% else %}
|
||||
{% if page.url contains p.url %}current{% endif %}
|
||||
{% endif %}">
|
||||
<li {%- if page.url == p.url %} class="current" {%- endif %}>
|
||||
<a href="{{ p.url }}">
|
||||
{% if p.menu_name %}
|
||||
{{ p.menu_name }}
|
||||
{% else %}
|
||||
{{ p.title }}
|
||||
{% endif %}
|
||||
{{ p.menu_name | default: p.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
@@ -6,11 +6,7 @@
|
||||
{% for item in section.docs %}
|
||||
{% assign p = site.documents | where: "url", item.link | first %}
|
||||
<option value="{{ p.url }}">
|
||||
{% if p.menu_name %}
|
||||
{{ p.menu_name }}
|
||||
{% else %}
|
||||
{{ p.title }}
|
||||
{% endif %}
|
||||
{{ p.menu_name | default: p.title }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
|
||||
@@ -14,19 +14,10 @@
|
||||
</div>
|
||||
<div class="unit two-thirds align-right center-on-mobiles">
|
||||
<p>
|
||||
Get professional Jekyll support and more with
|
||||
<a href="https://tidelift.com/subscription/pkg/rubygems-jekyll?utm_source=rubygems-jekyll&utm_medium=referral&utm_campaign=readme">
|
||||
<img src="/img/tidelift-logo.png" width="100" height="30" alt="Tidelift">
|
||||
</p>
|
||||
</div>
|
||||
<div class="unit two-thirds align-right center-on-mobiles">
|
||||
<p>
|
||||
Sponsored by
|
||||
{% for sponsor in site.data.sponsors %}
|
||||
<a href="{{ sponsor.url }}" style="margin-left: 10px;">
|
||||
<img src="{{ sponsor.image }}" height="{{ sponsor.height }}" width="{{ sponsor.width }}" alt="{{ sponsor.name }}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
Jekyll is funded thanks to its
|
||||
<a href="https://github.com/jekyll/jekyll#sponsors">
|
||||
sponsors!
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
<ul>
|
||||
{% for p in site.data.primary_nav %}
|
||||
{% if p.show_on_mobile %}
|
||||
<li class="
|
||||
{% if p.link == '/' %}
|
||||
{% if page.url == '/' %}current{% endif %}
|
||||
{% else %}
|
||||
{% if page.url contains p.link %}current{% endif %}
|
||||
{% endif %}">
|
||||
{%- if p.show_on_mobile %}
|
||||
<li
|
||||
{%- if p.link == '/' -%}
|
||||
{% if page.url == '/' %} class="current" {%- endif %}
|
||||
{%- else -%}
|
||||
{% if page.url contains p.link %} class="current" {%- endif %}
|
||||
{%- endif -%}
|
||||
>
|
||||
<a href="{{ p.link }}">{{ p.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
{% endfor %}
|
||||
<li>
|
||||
<a href="{{ site.repository }}">GitHub</a>
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<div class="unit one-fifth hide-on-mobiles">
|
||||
<aside>
|
||||
<ul>
|
||||
<li class="{% if page.title == 'News' %}current{% endif %}">
|
||||
<li {%- if page.title == 'News' %} class="current" {%- endif %}>
|
||||
<a href="/news/">All News</a>
|
||||
</li>
|
||||
<li class="{% if page.title == 'Releases' %}current{% endif %}">
|
||||
<li {%- if page.title == 'Releases' %} class="current" {%- endif %}>
|
||||
<a href="/news/releases/">Jekyll Releases</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h4>Recent Releases</h4>
|
||||
<ul>
|
||||
{% for post in site.categories.release limit:5 %}
|
||||
<li class="{% if page.title == post.title %}current{% endif %}">
|
||||
<li {%- if page.title == post.title %} class="current" {%- endif %}>
|
||||
<a href="{{ post.url }}">Version {{ post.version }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -21,13 +21,13 @@
|
||||
</ul>
|
||||
<h4>Other News</h4>
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
{% for post in site.posts %}
|
||||
{% unless post.categories contains 'release' %}
|
||||
<li class="{% if page.title == post.title %}current{% endif %}">
|
||||
<li {%- if page.title == post.title %} class="current" {%- endif %}>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<ul>
|
||||
{% for p in site.data.primary_nav %}
|
||||
<li class="
|
||||
{% if p.link == '/' %}
|
||||
{% if page.url == '/' %}current{% endif %}
|
||||
{% else %}
|
||||
{% if page.url contains p.link %}current{% endif %}
|
||||
{% endif %}">
|
||||
<li
|
||||
{%- if p.link == '/' -%}
|
||||
{% if page.url == p.link %} class="current" {%- endif %}
|
||||
{%- else -%}
|
||||
{% if page.url contains p.link %} class="current" {%- endif %}
|
||||
{%- endif -%}
|
||||
>
|
||||
<a href="{{ p.link }}">{{ p.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
{% assign docs = site.docs | where_exp: "doc", "doc.url contains '/step-by-step/'" %}
|
||||
|
||||
{% for tutorial in tutorials %}
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
|
||||
{% feed_meta %}
|
||||
<link type="application/atom+xml" rel="alternate" href="{{ "/feed/release.xml" | relative_url }}" title="Jekyll releases posts" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="{{ site.repository }}/commits/master.atom">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin data-proofer-ignore>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||
<link rel="preload" href="/fonts/lato-v14-latin-300.woff2" as="font" type="font/woff2" crossorigin />
|
||||
<link rel="preload" href="/fonts/lato-v14-latin-700.woff2" as="font" type="font/woff2" crossorigin />
|
||||
<link rel="preload" href="{{ "/css/screen.css" | relative_url }}" as="style">
|
||||
<link rel="stylesheet" href="/css/screen.css">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
{% seo %}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
{% for item in include.items %}
|
||||
{% assign item_url = item | prepend:"/tutorials/" | append:"/" %}
|
||||
{% assign p = site.tutorials | where:"url", item_url | first %}
|
||||
<li class="{% if item_url == page.url %}current{% endif %}"><a href="{{ p.url }}">{{ p.title }}</a></li>
|
||||
<li {%- if item_url == page.url %} class="current" {%- endif %}><a href="{{ p.url }}">{{ p.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.0.0 Released"
|
||||
date: "2013-05-06 02:12:52 +0200"
|
||||
author: parkr
|
||||
version: 1.0.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Hey! After many months of hard work by Jekyll's contributors, we're excited
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.0.1 Released"
|
||||
date: "2013-05-08 23:46:11 +0200"
|
||||
author: parkr
|
||||
version: 1.0.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Hot on the trails of v1.0, v1.0.1 is out! Here are the highlights:
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.0.2 Released"
|
||||
date: "2013-05-12 14:45:00 +0200"
|
||||
author: parkr
|
||||
version: 1.0.2
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
v1.0.2 has some key bugfixes that optionally restore some behaviour from pre-1.0
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.0.3 Released"
|
||||
date: "2013-06-07 21:02:13 +0200"
|
||||
author: parkr
|
||||
version: 1.0.3
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
v1.0.3 contains some key enhancements and bug fixes:
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.1.0 Released"
|
||||
date: "2013-07-14 19:38:02 +0200"
|
||||
author: parkr
|
||||
version: 1.1.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
After a month of hard work, the Jekyll core team is excited to announce the release of
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.1.1 Released"
|
||||
date: "2013-07-24 22:24:14 +0200"
|
||||
author: parkr
|
||||
version: 1.1.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Coming just 10 days after the release of v1.1.0, v1.1.1 is out with a patch for
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.0.4 Released"
|
||||
date: "2013-07-25 09:08:38 +0200"
|
||||
author: mattr-
|
||||
version: 1.0.4
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Version 1.0.4 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.1.2 Released"
|
||||
date: "2013-07-25 09:08:38 +0200"
|
||||
author: parkr
|
||||
version: 1.1.2
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Version 1.1.2 fixes a minor, but nonetheless important security vulnerability affecting several third-party Jekyll plugins. If your Jekyll site does not use plugins, you may, but are not required to upgrade at this time.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll 1.2.0 Released"
|
||||
date: "2013-09-06 22:02:41 -0400"
|
||||
author: parkr
|
||||
version: 1.2.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
After nearly a month and a half of hard work, the Jekyll team is happy to
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.2.1 Released'
|
||||
date: 2013-09-14 20:46:50 -0400
|
||||
author: parkr
|
||||
version: 1.2.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Quick turnover, anyone? A [recent incompatibility with Liquid
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.3.0.rc1 Released'
|
||||
date: 2013-10-28 20:14:39 -0500
|
||||
author: mattr-
|
||||
version: 1.3.0.rc1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Jekyll 1.3.0 is going to be a big release! In order to make sure we
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.3.0 Released'
|
||||
date: 2013-11-04 21:46:02 -0600
|
||||
author: mattr-
|
||||
version: 1.3.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
It's been about six weeks since v1.2.0 and the Jekyll team is happy to
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.3.1 Released'
|
||||
date: 2013-11-26 19:52:20 -0600
|
||||
author: mattr-
|
||||
version: 1.3.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Just in time for the US holiday Thanksgiving, we're releasing version
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.4.0 Released'
|
||||
date: 2013-12-07 13:55:28 -0600
|
||||
author: mattr-
|
||||
version: 1.4.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
About a month after the release of Jekyll v1.3.0, we are releasing
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.4.1 Released'
|
||||
date: 2013-12-09 20:44:13 -0600
|
||||
author: mattr-
|
||||
version: 1.4.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Another quick turnover, anyone? A [critical
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.4.2 Released'
|
||||
date: 2013-12-16 19:48:13 -0500
|
||||
author: parkr
|
||||
version: 1.4.2
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
This release fixes [a regression][] where Maruku fenced code blocks were turned
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.4.3 Released'
|
||||
date: 2014-01-13 17:43:32 -0800
|
||||
author: benbalter
|
||||
version: 1.4.3
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Jekyll 1.4.3 contains two **critical** security fixes. If you run Jekyll locally
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.5.0 Released'
|
||||
date: 2014-03-24 20:37:59 -0400
|
||||
author: parkr
|
||||
version: 1.5.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
As work continues on Jekyll 2.0.0, we felt it was important to address two key
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 1.5.1 Released'
|
||||
date: 2014-03-27 22:43:48 -0400
|
||||
author: parkr
|
||||
version: 1.5.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
The hawk-eyed [@gregose](https://github.com/gregose) spotted a bug in our
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: 'Jekyll turns 2.0.0'
|
||||
author: parkr
|
||||
version: 2.0.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
A year ago to the day, [we released Jekyll 1.0.0][jekyll-1]. One year later, we present to you the next major version: Jekyll 2.0.0.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 2.0.3 Released'
|
||||
date: 2014-05-08 22:43:17 -0400
|
||||
author: parkr
|
||||
version: 2.0.3
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Hey again! Just wanted to let you know we've released another version of Jekyll, jam-packed with bug fixes.
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll Turns 21! Err... I mean 2.1.0.'
|
||||
date: 2014-06-28 17:26:59 -0400
|
||||
author: parkr
|
||||
version: 2.1.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Jekyll's finally [legal to drink in the States](https://en.wikipedia.org/wiki/Legal_drinking_age).
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 2.1.1 Released'
|
||||
date: 2014-07-01 20:16:43 -0400
|
||||
author: parkr
|
||||
version: 2.1.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
This is a minor release for Jekyll 2.1.0. It fixes a couple bugs and
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 2.2.0 Released'
|
||||
date: 2014-07-29 18:59:13 -0400
|
||||
author: parkr
|
||||
version: 2.2.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Jekyll 2.2.0 contains a few key updates:
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 2.3.0 Released'
|
||||
date: 2014-08-10 20:38:34 -0400
|
||||
author: parkr
|
||||
version: 2.3.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
This latest release of Jekyll includes a slew of enhancements and bug
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'A Wild Jekyll 2.4.0 Appeared!'
|
||||
date: 2014-09-09 21:10:33 -0700
|
||||
author: parkr
|
||||
version: 2.4.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Well, lookie here! A new release of Jekyll! v2.4.0 contains lots of goodies, including some brilliant new additions:
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Jekyll's Mid-Life Crisis (Or, Jekyll turns 2.5.0)"
|
||||
date: 2014-11-05 10:48:22 -0800
|
||||
author: parkr
|
||||
version: 2.5.0
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
A new day, a new release! Jekyll just turned 2.5.0 and has gained a lot of
|
||||
|
||||
@@ -3,7 +3,7 @@ title: 'Jekyll 2.5.1 Released'
|
||||
date: 2014-11-09 09:47:52 -0800
|
||||
author: parkr
|
||||
version: 2.5.1
|
||||
categories: [release]
|
||||
category: release
|
||||
---
|
||||
|
||||
Hot on the heels of v2.5.0, this release brings relief to our Windows
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user