+
Gather your collections {%- include docs_version_badge.html version="3.7.0" -%}
-
From v3.7.0
you can optionally specify a directory to store all your collections in the same place with collections_dir: my_collections
+
You can optionally specify a directory to store all your collections in the same place with collections_dir: my_collections
Then Jekyll will look in my_collections/_books
for the books
collection, and
in my_collections/_recipes
for the recipes
collection.
diff --git a/docs/_docs/configuration.md b/docs/_docs/configuration.md
index cd0f2058..4a3c0fe7 100644
--- a/docs/_docs/configuration.md
+++ b/docs/_docs/configuration.md
@@ -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:
diff --git a/docs/_docs/templates.md b/docs/_docs/templates.md
index 81eb5b2a..390410aa 100644
--- a/docs/_docs/templates.md
+++ b/docs/_docs/templates.md
@@ -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
diff --git a/docs/_includes/docs_version_badge.html b/docs/_includes/docs_version_badge.html
new file mode 100644
index 00000000..3c358109
--- /dev/null
+++ b/docs/_includes/docs_version_badge.html
@@ -0,0 +1 @@
+
{{ include.version }}
diff --git a/docs/_sass/_style.scss b/docs/_sass/_style.scss
index fb185972..11d89adf 100644
--- a/docs/_sass/_style.scss
+++ b/docs/_sass/_style.scss
@@ -1030,6 +1030,30 @@ code.output {
text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
+/* Version badge */
+
+.version-badge {
+ margin-left: .25em;
+ padding: 0.2em;
+ font-size: .75em;
+ font-weight: 400;
+ background-color: #fc0;
+ color: #222;
+ text-shadow: none;
+ vertical-align: middle;
+ border-radius: 3.75px;
+}
+
+.note {
+ .version-badge {
+ font-size: 0.9rem;
+ padding: 0.1em 0.2em;
+ background-color: rgba(0,0,0,0.2);
+ color: #fff;
+ box-shadow: inset 0 1px 10px rgba(0,0,0,0.3),0 1px 0 rgba(255,255,255,0.1),0 -1px 0 rgba(0,0,0,0.5);
+ }
+}
+
/* Responsive tables */
@media (max-width: 768px) {