Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
* 'master' of https://github.com/mmistakes/minimal-mistakes: Add guide on applying Front Matter defaults to jekyll-archives pages (#2466)
This commit is contained in:
commit
b4ccaa6ae2
4 changed files with 30 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,7 +10,7 @@
|
||||||
*.gem
|
*.gem
|
||||||
.bundle
|
.bundle
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
vendor/bundle
|
**/vendor/bundle
|
||||||
|
|
||||||
# Node.js and NPM
|
# Node.js and NPM
|
||||||
node_modules
|
node_modules
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
|
- Add documentation for applying Front Matter defaults to jekyll-archives pages. [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
|
||||||
- Add missing Vietnamese translations [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459)
|
- Add missing Vietnamese translations [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459)
|
||||||
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
|
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
|
||||||
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
|
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
|
||||||
|
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
|
||||||
|
|
||||||
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
|
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
|
||||||
|
|
||||||
|
|
|
@ -1029,6 +1029,30 @@ jekyll-archives:
|
||||||
**Note:** The `archive-taxonomy` layout used by jekyll-archives is provided with the theme and can be found in the `_layouts` folder.
|
**Note:** The `archive-taxonomy` layout used by jekyll-archives is provided with the theme and can be found in the `_layouts` folder.
|
||||||
{: .notice--info}
|
{: .notice--info}
|
||||||
|
|
||||||
|
<div class="notice--success" markdown="1">
|
||||||
|
|
||||||
|
<h4 class="no_toc"><i class="fas fa-lightbulb"></i> Tip</h4>
|
||||||
|
|
||||||
|
To apply [Front Matter defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) to pages generated by the `jekyll-archives` plugin, you can specify a scope of an empty `path` and a `type` of either `tag` or `category`.
|
||||||
|
|
||||||
|
For example, the following configuration enables author profile on tag archives and disables comments on category archives.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
defaults:
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: tag
|
||||||
|
values:
|
||||||
|
author_profile: true
|
||||||
|
- scope:
|
||||||
|
path: ""
|
||||||
|
type: category
|
||||||
|
values:
|
||||||
|
comments: false
|
||||||
|
```
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## HTML compression
|
## HTML compression
|
||||||
|
|
||||||
If you care at all about performance (and really who doesn't) compressing the HTML files generated by Jekyll is a good thing to do.
|
If you care at all about performance (and really who doesn't) compressing the HTML files generated by Jekyll is a good thing to do.
|
||||||
|
|
|
@ -5,7 +5,7 @@ permalink: /docs/history/
|
||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: 2020-03-30T16:17:05-04:00
|
last_modified_at: 2020-03-30T16:19:45-04:00
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -13,9 +13,11 @@ toc: false
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
|
- Add documentation for applying Front Matter defaults to jekyll-archives pages. [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
|
||||||
- Add missing Vietnamese translations [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459)
|
- Add missing Vietnamese translations [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459)
|
||||||
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
|
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
|
||||||
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
|
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
|
||||||
|
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
|
||||||
|
|
||||||
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
|
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue