From 27b93ce80cb160e567ac04afcdca28724a5ba7ae Mon Sep 17 00:00:00 2001 From: Andrea Verlicchi <verlok@users.noreply.github.com> Date: Fri, 5 Jun 2020 22:48:15 +0200 Subject: [PATCH] Avoid name clash with `tag` in HTML syntax highlighting --- _includes/postslist.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/postslist.njk b/_includes/postslist.njk index d081844..d4896ac 100644 --- a/_includes/postslist.njk +++ b/_includes/postslist.njk @@ -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>