Skip to content

Commit

Permalink
link class: don't add a suffix
Browse files Browse the repository at this point in the history
When the style `list` is not used, don't append `-link` to the class name, it prevents to fully control class name and so css framework to work correctly.

fix hexojs#4058
  • Loading branch information
noraj committed Jan 5, 2020
1 parent 93bc277 commit d50372f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/helper/list_tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function listTagsHelper(tags, options) {
tags.forEach((tag, i) => {
if (i) result += separator;

result += `<a class="${className}-link" href="${this.url_for(tag.path)}${suffix}" rel="tag">`;
result += `<a class="${className}" href="${this.url_for(tag.path)}${suffix}" rel="tag">`;
result += transform ? transform(tag.name) : tag.name;

if (showCount) {
Expand Down

0 comments on commit d50372f

Please sign in to comment.