Skip to content

Commit 2a32394

Browse files
committed
Add notice for fixing Unknown tag 'include_cached'
Fixes mmistakes#1875
1 parent e704cd4 commit 2a32394

File tree

6 files changed

+29
-14
lines changed

6 files changed

+29
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Enhancements
44

5-
- Cache "static" includes to improve build performance. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
5+
- Cache "static" includes to improve build performance. **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
66
- Make entire feature and archive items "clickable". [#1864](https://github.com/mmistakes/minimal-mistakes/pull/1864)
77
- Allow custom Staticman endpoints. [#1842](https://github.com/mmistakes/minimal-mistakes/issues/1842)
88
- Remove `type="text/css"` from Algolia script includes. [#1836](https://github.com/mmistakes/minimal-mistakes/pull/1836)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ Additional sample posts are available under [posts archive][year-archive] on the
7272

7373
There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
7474

75+
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
76+
7577
### Ruby Gem Method
7678

7779
1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:

docs/_docs/01-quick-start-guide.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Quick-Start Guide"
33
permalink: /docs/quick-start-guide/
44
excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages."
5-
last_modified_at: 2018-07-19T11:31:38-04:00
5+
last_modified_at: 2018-10-04T20:15:56-04:00
66
redirect_from:
77
- /theme-setup/
88
toc: true
@@ -19,6 +19,9 @@ If you're running Jekyll v3.5+ and self-hosting you can quickly install the them
1919
**ProTip:** Be sure to remove `/docs` and `/test` if you forked Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't want them littering up your repo.
2020
{: .notice--info}
2121

22+
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
23+
{: .notice--warning}
24+
2225
### Ruby Gem Method
2326

2427
Add this line to your Jekyll site's `Gemfile`:

docs/_docs/03-installation.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Installation"
33
permalink: /docs/installation/
44
excerpt: "Instructions for installing the theme for new and existing Jekyll based sites."
5-
last_modified_at: 2018-03-20T15:59:00-04:00
5+
last_modified_at: 2018-10-04T20:16:07-04:00
66
toc: true
77
---
88

@@ -21,6 +21,9 @@ If you plan to host with GitHub Pages be sure to properly setup [**jekyll-remote
2121
**ProTip:** Be sure to remove `/docs` and `/test` if you forked or downloaded Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't littering up in your repo.
2222
{: .notice--info}
2323

24+
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
25+
{: .notice--warning}
26+
2427
## Theme Migration
2528

2629
To move over any existing content you'll want to copy the contents of your `_posts` folder to the new site. Along with any pages, collections, data files, images, or other assets you may have.
@@ -80,6 +83,7 @@ gem "minimal-mistakes-jekyll"
8083
# gem "jekyll-feed"
8184
# gem "jemoji"
8285
# gem "jekyll-data"
86+
# gem "jekyll-include-cache"
8387
#
8488
# If you have any other plugins, put them here!
8589
group :jekyll_plugins do
@@ -95,7 +99,7 @@ To maintain a local Jekyll environment in sync with GitHub Pages replace the `ge
9599
$ bundle install
96100
```
97101

98-
**Note:** The [GitHub Pages gem](https://github.com/github/pages-gem) installs additional dependencies that may need to be added to your `Gemfile` if you decide to remove the `gem "github-pages"` eg. `jekyll-paginate`, `jekyll-sitemap`, `jekyll-feed`, etc.
102+
**Note:** The [GitHub Pages gem](https://github.com/github/pages-gem) installs additional dependencies that may need to be added to your `Gemfile` if you decide to remove the `gem "github-pages"` eg. `jekyll-paginate`, `jekyll-sitemap`, `jekyll-feed`, `jekyll-include-cache`, etc.
99103
{: .notice--warning}
100104

101105
<figure>

docs/_docs/05-configuration.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Configuration"
33
permalink: /docs/configuration/
44
excerpt: "Settings for configuring and customizing the theme."
5-
last_modified_at: 2018-08-15T09:50:11-04:00
5+
last_modified_at: 2018-10-04T20:15:46-04:00
66
toc: true
77
---
88

@@ -494,6 +494,7 @@ For faster and more relevant search ([see demo](https://mmistakes.github.io/mini
494494
gem "jekyll-seo-tag"
495495
gem "jekyll-sitemap"
496496
gem "jekyll-paginate"
497+
gem "jekyll-include-cache"
497498
gem "jekyll-algolia"
498499
end
499500
```
@@ -893,22 +894,27 @@ timezone: America/New_York
893894

894895
When hosting with GitHub Pages a small [set of gems](https://pages.github.com/versions/) have been whitelisted for use. The theme uses a few of them which can be found under `gems`. Additional settings and configurations are documented in the links below.
895896

896-
| Plugin | Description |
897-
| ---------------------------------- | ----------------------------------------------------------------------------------------- |
898-
| [jekyll-paginate][jekyll-paginate] | Pagination Generator for Jekyll. |
899-
| [jekyll-sitemap][jekyll-sitemap] | Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site. |
900-
| [jekyll-gist][jekyll-gist] | Liquid tag for displaying GitHub Gists in Jekyll sites. |
901-
| [jekyll-feed][jekyll-feed] | A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts. |
902-
| [jemoji][jemoji] | GitHub-flavored emoji plugin for Jekyll. |
897+
| Plugin | Description |
898+
| --- | --- |
899+
| [jekyll-paginate][jekyll-paginate] | Pagination Generator for Jekyll. |
900+
| [jekyll-sitemap][jekyll-sitemap] | Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site. |
901+
| [jekyll-gist][jekyll-gist] | Liquid tag for displaying GitHub Gists in Jekyll sites. |
902+
| [jekyll-feed][jekyll-feed] | A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts. |
903+
| [jemoji][jemoji] | GitHub-flavored emoji plugin for Jekyll. |
904+
| [jekyll-include-cache][jekyll-include-cache] | Liquid tag that caches Liquid includes. |
903905

904906
[jekyll-paginate]: https://github.com/jekyll/jekyll-paginate
905907
[jekyll-sitemap]: https://github.com/jekyll/jekyll-sitemap
906908
[jekyll-gist]: https://github.com/jekyll/jekyll-gist
907909
[jekyll-feed]: https://github.com/jekyll/jekyll-feed
908910
[jemoji]: https://github.com/jekyll/jemoji
911+
[jekyll-include-cache]: https://github.com/benbalter/jekyll-include-cache
909912

910913
If you're hosting elsewhere then you don't really have to worry about what is whitelisted as you are free to include whatever [Jekyll plugins](https://jekyllrb.com/docs/plugins/) you desire.
911914

915+
**Note:** The [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin needs to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
916+
{: .notice--warning}
917+
912918
## Archive Settings
913919

914920
The theme ships with support for taxonomy (category and tag) pages. GitHub Pages hosted sites need to use a _Liquid only_ approach while those hosted elsewhere can use plugins like [**jekyll-archives**][jekyll-archives] to generate these pages automatically.

docs/_docs/18-history.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ permalink: /docs/history/
44
excerpt: "Change log of enhancements and bug fixes made to the theme."
55
sidebar:
66
nav: docs
7-
last_modified_at: 2018-10-04T15:41:33-04:00
7+
last_modified_at: 2018-10-04T20:16:47-04:00
88
toc: true
99
---
1010

1111
## Unreleased
1212

1313
### Enhancements
1414

15-
- Cache "static" includes to improve build performance. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
15+
- Cache "static" includes to improve build performance. **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build. [#1874]
1616
- Make entire feature and archive items "clickable". [#1864](https://github.com/mmistakes/minimal-mistakes/pull/1864)
1717
- Allow custom Staticman endpoints. [#1842](https://github.com/mmistakes/minimal-mistakes/issues/1842)
1818
- Remove `type="text/css"` from Algolia script includes. [#1836](https://github.com/mmistakes/minimal-mistakes/pull/1836)

0 commit comments

Comments
 (0)