You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
6
6
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
7
+
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
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`.
1037
+
1038
+
For example, the following configuration enables author profile on tag archives and disables comments on category archives.
1039
+
1040
+
```yaml
1041
+
defaults:
1042
+
- scope:
1043
+
path: ""
1044
+
type: tag
1045
+
values:
1046
+
author_profile: true
1047
+
- scope:
1048
+
path: ""
1049
+
type: category
1050
+
values:
1051
+
comments: false
1052
+
```
1053
+
1054
+
</div>
1055
+
1032
1056
## HTML compression
1033
1057
1034
1058
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.
Copy file name to clipboardExpand all lines: docs/_docs/18-history.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ permalink: /docs/history/
5
5
excerpt: "Change log of enhancements and bug fixes made to the theme."
6
6
sidebar:
7
7
nav: docs
8
-
last_modified_at: 2020-03-23T14:04:34-04:00
8
+
last_modified_at: 2020-03-27T15:04:39+08:00
9
9
toc: false
10
10
---
11
11
@@ -15,6 +15,7 @@ toc: false
15
15
16
16
- Fix Finnish ocalized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
17
17
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
18
+
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
0 commit comments