refactor(tags): avoid URL errors caused by improper site.baseurl
settings
Resolves #580
This commit is contained in:
parent
94e81447af
commit
12f1e6fe89
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ layout: page
|
|||
|
||||
{% for t in sorted_tags %}
|
||||
<div>
|
||||
<a class="tag" href="{{ site.baseurl }}/tags/{{ t | slugify | url_encode }}/">{{ t }}<span class="text-muted">{{ site.tags[t].size }}</span></a>
|
||||
<a class="tag" href="{{ t | slugify | url_encode | prepend: '/tags/' | append: '/' | relative_url }}">
|
||||
{{ t }}<span class="text-muted">{{ site.tags[t].size }}</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue