Merge pull request #64 from verlok/patch-1

Avoid name clash with `tag` in HTML syntax highlighting
This commit is contained in:
Zach Leatherman
2020-07-27 10:50:30 -05:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
{% for tag in post.data.tags %}
{%- if collections.tagList.indexOf(tag) != -1 -%}
{% set tagUrl %}/tags/{{ tag }}/{% endset %}
<a href="{{ tagUrl | url }}" class="tag">{{ tag }}</a>
<a href="{{ tagUrl | url }}" class="post-tag">{{ tag }}</a>
{%- endif -%}
{% endfor %}
</li>