Fixed special characters in URL.
This commit is contained in:
parent
8c21272048
commit
7cea137bf4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
{% for trend in trends %}
|
{% for trend in trends %}
|
||||||
{% assign count = count | plus: 1 %}
|
{% assign count = count | plus: 1 %}
|
||||||
{% assign tag = trend | split: ":" | last %}
|
{% assign tag = trend | split: ":" | last %}
|
||||||
<a class="post-tag" href="{{ site.baseurl }}/tags/{{ tag | downcase }}/">{{ tag | replace: '-', ' ' }}</a>
|
<a class="post-tag" href="{{ site.baseurl }}/tags/{{ tag | downcase | url_encode }}/">{{ tag | replace: '-', ' ' }}</a>
|
||||||
{% if count >= MAX %}
|
{% if count >= MAX %}
|
||||||
{% break %}
|
{% break %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue