feat: add tag name as class to tag item
parent
57826a338d
commit
51cd52bcc4
@ -1,5 +1,5 @@
|
||||
{{{each tags}}}
|
||||
<a href="{config.relative_path}/tags/{tags.value}">
|
||||
<span class="tag tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.valueEscaped}</span>
|
||||
<span class="tag tag-item tag-{tags.valueEscaped}" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.valueEscaped}</span>
|
||||
</a>
|
||||
{{{end}}}
|
Loading…
Reference in New Issue