<xf:if is="$xf.options.enableTagging AND ($thread.canEditTags() OR $thread.tags)">
<li>
<xf:macro template="tag_macros" name="list"
arg-tags="{$thread.tags}"
arg-tagList="tagList--thread-{$thread.thread_id}"
arg-editLink="{{ $thread.canEditTags() ? link('threads/tags', $thread) : '' }}" />
</li>
</xf:if>