I’ve got Tag module running smoothly on my site and have the tag links under every entry. However, the code that I’m using to produce the tag links actually puts a comma after EVERY tag. This works great when there’s more than one tag or for all tags but the last one but it looks kinda strange on the last tag because it leaves a ‘hanging comma.’ You can see what I mean in the attached image. How do I go about adding some logic so that a comma doesn’t display after the last tag entry?
My code is below and the picture is attached:
Tags: {exp:tag:tags entry_id="{entry_id}" type="weblog" backspace="2" orderby="clicks" sort="desc"}
<a href="{path='blogs/tag'}{websafe_tag}" title="{tag_name}">{tag}</a>,
{/exp:tag:tags}
