diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c3adb977113..2bf05cd5887e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Unreleased + +### Bug Fixes + +- Fix repeated site base path for masthead logo. [#2385](https://github.com/mmistakes/minimal-mistakes/pull/2385) + ## [4.18.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.1) ### Bug Fixes diff --git a/_includes/masthead.html b/_includes/masthead.html index 15be93211423..28fb6fe2fe00 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -1,8 +1,4 @@ -{% if site.logo contains "://" %} - {% capture logo_path %}{{ site.logo }}{% endcapture %} -{% else %} - {% capture logo_path %}{{ site.logo | relative_url }}{% endcapture %} -{% endif %} +{% capture logo_path %}{{ site.logo }}{% endcapture %}