Avoid name clash with tag in HTML syntax highlighting

This commit is contained in:
Andrea Verlicchi 2020-06-05 22:48:15 +02:00 committed by GitHub
parent 0b922ed87d
commit 27b93ce80c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
{% for tag in post.data.tags %} {% for tag in post.data.tags %}
{%- if collections.tagList.indexOf(tag) != -1 -%} {%- if collections.tagList.indexOf(tag) != -1 -%}
{% 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>
{%- endif -%} {%- endif -%}
{% endfor %} {% endfor %}
</li> </li>