The following code can be used in a column list or article detail page.
{foreach array_slice($article.Tags,0,3) as $tag}<a href="{$tag.Url}" title="{$tag.Name}">{$tag.Name}</a>{/foreach}In addition, you can also add {if $article.Tags} to determine whether there is a tag. If there is no tag, it will not be displayed! As shown in the following figure:







add friends