Regression for mmistakes#2332 (#2385)

* Regression for mmistakes#2332

There's already a `relative_url` in place, shouldn't stack up another

* Update CHANGELOG and history
This commit is contained in:
iBug ♦
2020-01-30 01:48:13 +08:00
committed by GitHub
parent 636ea3eb87
commit 1799ddd6a5
3 changed files with 14 additions and 6 deletions

View File

@ -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 %}
<div class="masthead">
<div class="masthead__inner-wrap">