Skip to content

Commit

Permalink
Release 4.20.2 💎
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Sep 7, 2020
1 parent 8bec01b commit 526445b
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## [4.20.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2)

### Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ To install:
bundle
```

4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.

**Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.20.1 by Michael Rose
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.20.1 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/
Expand Down
7 changes: 5 additions & 2 deletions assets/js/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_docs/01-quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ To install as a remote theme:
bundle
```

4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.

You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used.

Expand Down
6 changes: 3 additions & 3 deletions docs/_docs/04-upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To check which version you are currently using, view the source of your built si

```
<!--
Minimal Mistakes Jekyll Theme 4.20.1 by Michael Rose
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
Expand All @@ -28,14 +28,14 @@ Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem up
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:

```ruby
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.20.1"
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.20.2"
```

For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.

## Remote theme

When setting `remote_theme: "mmistakes/minimal-mistakes@4.20.1"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
When setting `remote_theme: "mmistakes/minimal-mistakes@4.20.2"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.

For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases).

Expand Down
4 changes: 2 additions & 2 deletions docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2020-08-30T21:28:27-04:00
last_modified_at: 2020-09-07T10:03:41-04:00
toc: false
---

## Unreleased
## [4.20.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2)

## Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.20.1 by Michael Rose
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion docs/_pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ header:
url: "/docs/quick-start-guide/"
excerpt: >
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1">Latest release v4.20.1</a></small>
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2">Latest release v4.20.2</a></small>
feature_row:
- image_path: /assets/images/mm-customizable-feature.png
alt: "customizable"
Expand Down
2 changes: 1 addition & 1 deletion minimal-mistakes-jekyll.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll"
spec.version = "4.20.1"
spec.version = "4.20.2"
spec.authors = ["Michael Rose"]

spec.summary = %q{A flexible two-column Jekyll theme.}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "4.20.1",
"version": "4.20.2",
"description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": {
"type": "git",
Expand Down

5 comments on commit 526445b

@melat0nin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to have broken #2526

@mmistakes
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melat0nin You have a repo where this broke? Looks fine to me on the demo site.

https://mmistakes.github.io/minimal-mistakes/layout-post-date/

@melat0nin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't unfortunately (it's private) but I got this error on Netlify, so had to lock MM to 4.20.1:

Liquid Exception: Could not locate the included file 'post__meta.html' in any of ["/opt/build/repo/_includes", "/opt/build/cache/bundle/ruby/2.6.0/gems/minimal-mistakes-jekyll-4.20.2/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in /opt/build/repo/_layouts/blog_post.html

I had updated the relevant layout (blog_post.html) previously, replacing {% include read-time.html %} with {% include post__meta.html %}

@mmistakes
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's your issue. Those Jekyll includes changed names. Looks like you missed some files when you manually updated things.
If you have copies of _includes or _layouts in your repo I would advise not doing that. Unless you're customizing something, but even then that makes upgrading harder as you need to track every change.

Regardless, most of the changes were in this pull request. You'll have to compare it against your repo since it sounds like you're using it more like a fork than installing the theme.

#2641

@melat0nin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, yes I have done a fair bit of customisation -- I'll go back and compare my overrides and the theme more closely. Thanks!

Please sign in to comment.