Skip to content

Commit

Permalink
url filter for tag link
Browse files Browse the repository at this point in the history
  • Loading branch information
ar363 authored May 18, 2021
1 parent 1279855 commit c9337ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagslist.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ eleventyNavigation:
<div class="card-grid">
{% for tag in collections.tagList %}
<div class="card">
<h2 class="card__title"><a href="/tags/{{ tag.tagName | slug }}">{{ tag.tagName }}</a></h2>
<h2 class="card__title"><a href="{{ '/tags/' | url }}{{ tag.tagName | slug }}">{{ tag.tagName }}</a></h2>
<div class="card__subtitle">{{ tag.tagCount }} Posts</div>
</div>
{% endfor %}
Expand Down

1 comment on commit c9337ef

@vercel
Copy link

@vercel vercel bot commented on c9337ef May 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.