mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-04 11:45:03 -05:00
Docs: Include version badge for latest features (#6574)
Merge pull request 6574
This commit is contained in:
committed by
Frank Taillandier
parent
a25fd72334
commit
ed03ca5c16
@@ -46,10 +46,10 @@ defaults:
|
||||
layout: page
|
||||
```
|
||||
|
||||
<div class="note unreleased">
|
||||
<h5>Gather your collections</h5>
|
||||
<div class="note">
|
||||
<h5>Gather your collections {%- include docs_version_badge.html version="3.7.0" -%}</h5>
|
||||
|
||||
<p>From <code>v3.7.0</code> you can optionally specify a directory to store all your collections in the same place with <code>collections_dir: my_collections</code></p>
|
||||
<p>You can optionally specify a directory to store all your collections in the same place with <code>collections_dir: my_collections</code></p>
|
||||
|
||||
<p>Then Jekyll will look in <code>my_collections/_books</code> for the <code>books</code> collection, and
|
||||
in <code>my_collections/_recipes</code> for the <code>recipes</code> collection.</p>
|
||||
|
||||
@@ -549,7 +549,7 @@ defaults:
|
||||
In this example, the `layout` is set to `default` inside the
|
||||
[collection](../collections/) with the name `my_collection`.
|
||||
|
||||
It is also possible to use glob patterns when matching defaults. For example, it is possible to set specific layout for each `special-page.html` in any subfolder of `section` folder.
|
||||
It is also possible to use glob patterns when matching defaults. For example, it is possible to set specific layout for each `special-page.html` in any subfolder of `section` folder. {%- include docs_version_badge.html version="3.7.0" -%}
|
||||
|
||||
```yaml
|
||||
collections:
|
||||
|
||||
@@ -429,7 +429,7 @@ The default is `default`. They are as follows (with what they filter):
|
||||
- `default`: spaces and non-alphanumeric characters
|
||||
- `pretty`: spaces and non-alphanumeric characters except for `._~!$&'()+,;=@`
|
||||
- `ascii`: spaces, non-alphanumeric, and non-ASCII characters
|
||||
- `latin`: like `default`, except Latin characters are first transliterated (e.g. `àèïòü` to `aeiou`)
|
||||
- `latin`: like `default`, except Latin characters are first transliterated (e.g. `àèïòü` to `aeiou`) {%- include docs_version_badge.html version="3.7.0" -%}
|
||||
|
||||
## Tags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user