If you look in components/com_content/views/article/tmpl/default.php
, the tags are being displayed like so:
if ($this->params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) {
$this->item->tagLayout = new JLayoutFile('joomla.content.tags');
echo $this->item->tagLayout->render($this->item->tags->itemTags);
}
So you can base it on this:
Hope it helps