Skip to content

Commit 9a02cdf

Browse files
authored
* Regression for mmistakes#2332 There's already a `relative_url` in place, shouldn't stack up another * Update CHANGELOG and history
1 parent e31085f commit 9a02cdf

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Unreleased
2+
3+
### Bug Fixes
4+
5+
- Fix repeated site base path for masthead logo. [#2385](https://github.com/mmistakes/minimal-mistakes/pull/2385)
6+
17
## [4.18.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.1)
28

39
### Bug Fixes

_includes/masthead.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
{% if site.logo contains "://" %}
2-
{% capture logo_path %}{{ site.logo }}{% endcapture %}
3-
{% else %}
4-
{% capture logo_path %}{{ site.logo | relative_url }}{% endcapture %}
5-
{% endif %}
1+
{% capture logo_path %}{{ site.logo }}{% endcapture %}
62

73
<div class="masthead">
84
<div class="masthead__inner-wrap">

docs/_docs/18-history.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ permalink: /docs/history/
55
excerpt: "Change log of enhancements and bug fixes made to the theme."
66
sidebar:
77
nav: docs
8-
last_modified_at: 2020-01-25T11:15:45-05:00
8+
last_modified_at: 2020-01-29T17:42:20+08:00
99
toc: false
1010
---
1111

12+
## Unreleased
13+
14+
### Bug Fixes
15+
16+
- Fix repeated site base path for masthead logo. [#2385](https://github.com/mmistakes/minimal-mistakes/pull/2385)
17+
1218
## [4.18.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.1)
1319

1420
### Bug Fixes

0 commit comments

Comments
 (0)