Commit 61d2a185 authored by Leon Byford's avatar Leon Byford

fix tag link escaping on post layout

parent eccd3fbe
......@@ -18,7 +18,7 @@ layout: default
{% assign numTags = page.tags | size %}
{% if numTags > 0 %}
in
{% for i in (1..numTags) %}{% assign index = i | minus: 1 %}{% if i > 1 %}, {% endif %}<a href="{{site.baseurl}}tag#{{page.tags[index]|uri_escape}}">{{page.tags[index]}}</a>{% endfor %}
{% for i in (1..numTags) %}{% assign index = i | minus: 1 %}{% if i > 1 %}, {% endif %}<a href="{{site.baseurl}}tag#{{page.tags[index]|slugify}}">{{page.tags[index]}}</a>{% endfor %}
{% endif %}
</div>
<h2>{{ page.title }}</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment