Avoid name clash with `tag` in HTML syntax highlighting

master
Andrea Verlicchi 2020-06-05 22:45:17 +02:00 committed by GitHub
parent 5d46f4eac2
commit 0b922ed87d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ layout: layouts/home.njk
{% for tag in collections.tagList %}
{% set tagUrl %}/tags/{{ tag }}/{% endset %}
<a href="{{ tagUrl | url }}" class="tag">{{ tag }}</a>
<a href="{{ tagUrl | url }}" class="post-tag">{{ tag }}</a>
{% endfor %}