Skip to content

Commit 9aeade8

Browse files
committed
Fix empty <img> when site_logo is not assigned
Ref: mmistakes/minimal-mistakes#2026 (comment)
1 parent 2f5cb4c commit 9aeade8

13 files changed

+26
-14
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [4.15.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.1)
2+
3+
### Bug Fixes
4+
5+
- Fix empty `<img>` when `site_logo` is not assigned. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876)
6+
17
## [4.15.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.0)
28

39
### Enhancements

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ To install:
126126
bundle
127127
```
128128

129-
4. Add `remote_theme: "mmistakes/[email protected].0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
129+
4. Add `remote_theme: "mmistakes/[email protected].1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
130130

131131
## Usage
132132

_includes/masthead.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="masthead__inner-wrap">
99
<div class="masthead__menu">
1010
<nav id="site-nav" class="greedy-nav">
11-
{% if logo_path %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}"></a>{% endif %}
11+
{% if site.logo %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}"></a>{% endif %}
1212
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a>
1313
<ul class="visible-links">
1414
{%- for link in site.data.navigation.main -%}

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!doctype html>
55
<!--
6-
Minimal Mistakes Jekyll Theme 4.15.0 by Michael Rose
6+
Minimal Mistakes Jekyll Theme 4.15.1 by Michael Rose
77
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
88
Free for personal and commercial use under the MIT license
99
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE

_sass/minimal-mistakes.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Minimal Mistakes Jekyll Theme 4.15.0 by Michael Rose
2+
* Minimal Mistakes Jekyll Theme 4.15.1 by Michael Rose
33
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
44
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
55
*/

assets/js/main.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To install as a remote theme:
7474
bundle
7575
```
7676

77-
4. Add `remote_theme: "mmistakes/[email protected].0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
77+
4. Add `remote_theme: "mmistakes/[email protected].1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
7878

7979
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/[email protected]` 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.
8080

docs/_docs/04-upgrading.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To check which version you are currently using, view the source of your built si
1212

1313
```
1414
<!--
15-
Minimal Mistakes Jekyll Theme 4.15.0 by Michael Rose
15+
Minimal Mistakes Jekyll Theme 4.15.1 by Michael Rose
1616
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
1717
Free for personal and commercial use under the MIT license
1818
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
@@ -28,14 +28,14 @@ Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem up
2828
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`:
2929

3030
```ruby
31-
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.15.0"
31+
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.15.1"
3232
```
3333

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

3636
## Remote theme
3737

38-
When setting `remote_theme: "mmistakes/[email protected].0"` 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.
38+
When setting `remote_theme: "mmistakes/[email protected].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.
3939

4040
For example you can roll back to release 4.8.1 with `mmistakes/[email protected]` 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).
4141

docs/_docs/18-history.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ 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: 2019-01-16T08:24:36-05:00
7+
last_modified_at: 2019-01-16T11:06:09-05:00
88
toc: true
99
---
1010

11+
## [4.15.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.1)
12+
13+
### Bug Fixes
14+
15+
- Fix empty `<img>` when `site_logo` is not assigned. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876)
16+
1117
## [4.15.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.0)
1218

1319
### Enhancements

docs/_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!doctype html>
55
<!--
6-
Minimal Mistakes Jekyll Theme 4.15.0 by Michael Rose
6+
Minimal Mistakes Jekyll Theme 4.15.1 by Michael Rose
77
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
88
Free for personal and commercial use under the MIT license
99
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE

docs/_pages/home.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ header:
99
url: "/docs/quick-start-guide/"
1010
excerpt: >
1111
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
12-
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.0">Latest release v4.15.0</a></small>
12+
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.1">Latest release v4.15.1</a></small>
1313
feature_row:
1414
- image_path: /assets/images/mm-customizable-feature.png
1515
alt: "customizable"

minimal-mistakes-jekyll.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "minimal-mistakes-jekyll"
5-
spec.version = "4.15.0"
5+
spec.version = "4.15.1"
66
spec.authors = ["Michael Rose"]
77

88
spec.summary = %q{A flexible two-column Jekyll theme.}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minimal-mistakes",
3-
"version": "4.15.0",
3+
"version": "4.15.1",
44
"description": "Minimal Mistakes 2 column Jekyll theme.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)