Avoid name clash with tag in HTML syntax highlighting

This commit is contained in:
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

View File

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