diff --git a/.github/CONTRIBUTING.markdown b/.github/CONTRIBUTING.markdown index f1c19732..64e89e96 100644 --- a/.github/CONTRIBUTING.markdown +++ b/.github/CONTRIBUTING.markdown @@ -25,7 +25,7 @@ Whether you're a developer, a designer, or just a Jekyll devotee, there are lots * The more information, the better. Make judicious use of the pull request body. Describe what changes were made, why you made them, and what impact they will have for users. -* Pull requests are easy and fun. If this is your first pull request, it may help to [understand GitHub Flow](https://guides.github.com/introduction/flow/). +* If this is your first pull request, it may help to [understand GitHub Flow](https://guides.github.com/introduction/flow/). * If you're submitting a code contribution, be sure to read the [code contributions](#code-contributions) section below. diff --git a/History.markdown b/History.markdown index 01fe0c21..a6b068a9 100644 --- a/History.markdown +++ b/History.markdown @@ -1545,7 +1545,7 @@ * Internal: trigger hooks by owner symbol (#3871) * Update MIME types from mime-db (#3933) * Add header to site template `_config.yml` for clarity & direction (#3997) - * Site template: add timezone offset to post date frontmatter (#4001) + * Site template: add timezone offset to post date front matter (#4001) * Make a constant for the regex to find hidden files (#4032) * Site template: refactor github & twitter icons into includes (#4049) * Site template: add background to Kramdown Rouge-ified backtick code blocks (#4053) @@ -1685,7 +1685,7 @@ * Add a link on all the docs pages to "Improve this page". (#3510) * Add jekyll-auto-image generator to the list of third-party plugins (#3489) * Replace link to the proposed `picture` element spec (#3530) - * Add frontmatter date formatting information (#3469) + * Add front matter date formatting information (#3469) * Improve consistency and clarity of plugins options note (#3546) * Add permalink warning to pagination docs (#3551) * Fix grammar in Collections docs API stability warning (#3560) diff --git a/docs/_docs/code_of_conduct.md b/docs/_docs/code_of_conduct.md index 1cd0bdbc..feaf9890 100644 --- a/docs/_docs/code_of_conduct.md +++ b/docs/_docs/code_of_conduct.md @@ -6,50 +6,47 @@ 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, gender identity and expression, level of experience, 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 -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. +## Our Responsibilities -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. +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. -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. +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. -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. +## 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 is adapted from the [Contributor Covenant][homepage], -version 1.3.0, available at -[http://contributor-covenant.org/version/1/3/0/][version] +## Enforcement -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/3/0/ +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. + +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] + +[homepage]: https://www.contributor-covenant.org/ +[version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index f9c463a1..5f6a3650 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -209,7 +209,7 @@ you specified in your `_config.yml` (if present) and the following information:
Except for documents in hard-coded default collection posts
, all documents in collections
you create, are accessible via Liquid irrespective of their assigned date, if any, and therefore renderable.
However documents are attempted to be written to disk only if the concerned collection +
Documents are attempted to be written to disk only if the concerned collection
metadata has output: true
. Additionally, future-dated documents are only written if
site.future
is also true.
null
will produce a file without using a layout
- file. However this is overridden if the file is a post/document and has a
+ file. This is overridden if the file is a post/document and has a
layout defined in the
front matter defaults.
none
in a post/document will
produce a file without using a layout file regardless of front matter defaults.
- Using none
in a page, however, will cause Jekyll to attempt to
+ Using none
in a page will cause Jekyll to attempt to
use a layout named "none".
- To preview unpublished pages, simply run `jekyll serve` or `jekyll build` + To preview unpublished pages, run `jekyll serve` or `jekyll build` with the `--unpublished` switch. Jekyll also has a handy drafts feature tailored specifically for blog posts.
@@ -204,7 +204,7 @@ These are available out-of-the-box to be used in the front matter for a post.If you don't want to repeat your frequently used front matter variables - over and over, just define defaults + over and over, define defaults for them and only override them where necessary (or not at all). This works both for predefined and custom variables.
diff --git a/docs/_docs/github-pages.md b/docs/_docs/github-pages.md index 58cbc190..5c4c3408 100644 --- a/docs/_docs/github-pages.md +++ b/docs/_docs/github-pages.md @@ -56,7 +56,7 @@ Be sure to run `bundle update` often. ### Project Page URL Structure Sometimes it's nice to preview your Jekyll site before you push your `gh-pages` -branch to GitHub. However, the subdirectory-like URL structure GitHub uses for +branch to GitHub. The subdirectory-like URL structure GitHub uses for Project Pages complicates the proper resolution of URLs. In order to assure your site builds properly, use the handy [URL filters](/docs/liquid/filters/): diff --git a/docs/_docs/history.md b/docs/_docs/history.md index cae0a403..0070d596 100644 --- a/docs/_docs/history.md +++ b/docs/_docs/history.md @@ -4,6 +4,15 @@ permalink: "/docs/history/" note: This file is autogenerated. Edit /History.markdown instead. --- +## 3.8.4 / 2018-09-18 +{: #v3-8-4} + +### Bug Fixes +{: #bug-fixes-v3-8-4} + +- 3.8.x: security: fix `include` bypass of `EntryFilter#filter` symlink check ([#7228]({{ site.repository }}/issues/7228)) + + ## 3.8.3 / 2018-06-05 {: #v3-8-3} @@ -137,6 +146,15 @@ note: This file is autogenerated. Edit /History.markdown instead. - Allow front matter defaults to be applied properly to documents gathered under custom `collections_dir` ([#6885]({{ site.repository }}/issues/6885)) +## 3.7.4 / 2018-09-07 +{: #v3-7-4} + +### Bug Fixes +{: #bug-fixes-v3-7-4} + +- Security: fix `include` bypass of EntryFilter#filter symlink check ([#7224]({{ site.repository }}/issues/7224)) + + ## 3.7.3 / 2018-02-25 {: #v3-7-3} @@ -318,6 +336,15 @@ note: This file is autogenerated. Edit /History.markdown instead. - Fix permalink icon markup in news-item layout ([#6639]({{ site.repository }}/issues/6639)) +## 3.6.3 / 2018-09-18 +{: #v3-6-3} + +### Bug Fixes +{: #bug-fixes-v3-6-3} + +- 3.6.x: security: fix `include` bypass of `EntryFilter#filter` symlink check ([#7229]({{ site.repository }}/issues/7229)) + + ## 3.6.2 / 2017-10-21 {: #v3-6-2} diff --git a/docs/_docs/includes.md b/docs/_docs/includes.md index 00d0a57f..35dbf3e4 100644 --- a/docs/_docs/includes.md +++ b/docs/_docs/includes.md @@ -127,7 +127,7 @@ The result is the original HTML code shown earlier. To safeguard situations where users don't supply a value for the parameter, you can use [Liquid's default filter](https://shopify.github.io/liquid/filters/default/). -Overall, you can create includes that act as templates for a variety of uses — inserting audio or video clips, alerts, special formatting, and more. However, note that you should avoid using too many includes, as this will slow down the build time of your site. For example, don't use includes every time you insert an image. (The above technique shows a use case for special images.) +Overall, you can create includes that act as templates for a variety of uses — inserting audio or video clips, alerts, special formatting, and more. Note that you should avoid using too many includes, as this will slow down the build time of your site. For example, don't use includes every time you insert an image. (The above technique shows a use case for special images.) ### Passing parameter variables to includes diff --git a/docs/_docs/maintaining/affinity-team-captain.md b/docs/_docs/maintaining/affinity-team-captain.md index bafa4e9d..70d0e10d 100644 --- a/docs/_docs/maintaining/affinity-team-captain.md +++ b/docs/_docs/maintaining/affinity-team-captain.md @@ -17,11 +17,11 @@ Each affinity team has a few captains who manage the issues and pull requests fo Just ask! Feel free to open an issue on `jekyll/jekyll` and add `/cc @jekyll/core`. We can add you. :smile: -Alternatively, you can email or otherwise reach out to [@parkr](https://github.com/parkr) directly if you prefer the more private route. +Alternatively, you can email or otherwise reach out to [@oe](https://github.com/oe) directly if you prefer the more private route. ## Ugh, I'm tired and don't have time to be a captain anymore. What now? -No sweat at all! Email [@parkr](https://github.com/parkr) and ask to be removed. Alternatively, you should be able to go to your team's page on GitHub.com (go to https://github.com/jekyll, click "Teams", click the link to your team) and change your status to either "member" or leave the team. +No sweat at all! Email [@oe](https://github.com/oe) and ask to be removed. Alternatively, you should be able to go to your team's page on GitHub.com (go to https://github.com/jekyll, click "Teams", click the link to your team) and change your status to either "member" or leave the team. We realize that being a captain is no easy feat so we want to make it a great experience. As always, communicate as much as you can with us about what is working, and what isn't. Thanks for dedicating some time to Jekyll! :sparkles: diff --git a/docs/_docs/pages.md b/docs/_docs/pages.md index fcfc62d3..029ad0ef 100644 --- a/docs/_docs/pages.md +++ b/docs/_docs/pages.md @@ -7,7 +7,7 @@ Pages are the most basic building block for content. They're useful for standalo content (content which is not date based or is not a group of content such as staff members or recipes). -The simplest way of adding a page is just to add an HTML file in the root +The simplest way of adding a page is to add an HTML file in the root directory with a suitable filename. You can also write a page in Markdown using a `.md` extension which converts to HTML on build. For a site with a homepage, an about page, and a contact page, here’s what the root directory diff --git a/docs/_docs/plugins/filters.md b/docs/_docs/plugins/filters.md index 811b0f0a..a6237da4 100644 --- a/docs/_docs/plugins/filters.md +++ b/docs/_docs/plugins/filters.md @@ -3,7 +3,7 @@ title: Filters permalink: /docs/plugins/filters/ --- -Filters are simply modules that export their methods to liquid. +Filters are modules that export their methods to liquid. All methods will have to take at least one parameter which represents the input of the filter. The return value will be the output of the filter. diff --git a/docs/_docs/plugins/hooks.md b/docs/_docs/plugins/hooks.md index 55e44dd9..e09f166a 100644 --- a/docs/_docs/plugins/hooks.md +++ b/docs/_docs/plugins/hooks.md @@ -21,8 +21,8 @@ end Jekyll provides hooks for:site
, :pages
,
:posts
, and :documents
. In all cases, Jekyll calls
-your hooks with the container object as the first callback parameter. However,
-all `:pre_render` hooks and the`:site, :post_render` hook will also provide a
+your hooks with the container object as the first callback parameter.
+All `:pre_render` hooks and the`:site, :post_render` hook will also provide a
payload hash as a second parameter. In the case of `:pre_render`, the payload
gives you full control over the variables that are available while rendering.
In the case of `:site, :post_render`, the payload contains final values after
diff --git a/docs/_docs/plugins/installation.md b/docs/_docs/plugins/installation.md
index 8c1307dc..ad2bcdd5 100644
--- a/docs/_docs/plugins/installation.md
+++ b/docs/_docs/plugins/installation.md
@@ -41,7 +41,7 @@ You have 3 options for installing plugins:
GitHub Pages is powered by Jekyll.
- However, all Pages sites are generated using the --safe
option
+ All Pages sites are generated using the --safe
option
to disable plugins (with the exception of some
whitelisted plugins) for
security reasons. Unfortunately, this means
diff --git a/docs/_docs/posts.md b/docs/_docs/posts.md
index 7b5c9711..f6ae4b5e 100644
--- a/docs/_docs/posts.md
+++ b/docs/_docs/posts.md
@@ -11,7 +11,7 @@ provides everything you need to turn it into a blog.
## The Posts Folder
The `_posts` folder is where your blog posts live. You typically write posts
-in [Markdown](https://daringfireball.net/projects/markdown/), however HTML is
+in [Markdown](https://daringfireball.net/projects/markdown/), HTML is
also supported.
## Creating Posts
@@ -97,9 +97,9 @@ Linking to a PDF for readers to download:
## Displaying an index of posts
-Creating an index of posts on another page is easy thanks to
+Creating an index of posts on another page should be easy thanks to
[Liquid](https://docs.shopify.com/themes/liquid/basics) and its tags. Here’s a
-basic example of how to create a list of links to your blog posts:
+simple example of how to create a list of links to your blog posts:
{% raw %}
```html
@@ -162,7 +162,7 @@ For tags it's exactly the same except the variable is `site.tags`.
## Post excerpts
You can access a snippet of a posts's content by using `excerpt` variable on a
-post. By default this is the first paragraph of content in the post however it
+post. By default this is the first paragraph of content in the post, however it
can be customized by setting a `excerpt_separator` variable in front matter or
`_config.yml`.
@@ -204,7 +204,7 @@ create a `_drafts` folder in your site's root and create your first draft:
| |-- a-draft-post.md
```
-To preview your site with drafts, simply run `jekyll serve` or `jekyll build`
+To preview your site with drafts, run `jekyll serve` or `jekyll build`
with the `--drafts` switch. Each will be assigned the value modification time
of the draft file for its date, and thus you will see currently edited drafts
as the latest posts.
diff --git a/docs/_docs/static_files.md b/docs/_docs/static_files.md
index 2e96527b..037b2e8f 100644
--- a/docs/_docs/static_files.md
+++ b/docs/_docs/static_files.md
@@ -62,7 +62,7 @@ following metadata: