I want to exclude K2 tag pages from being indexed by search engine by adding
$document = & JFactory :: getDocument();
$document->setMetaData('robots', 'noindex');
to it's controller/view code. For some reason I can't find tag view or controller, from what I can gather it seems like it is merget with some other file.
There is /components/com_k2/templates/default/tags.php
and /components/com_k2/views/itemlist/tmpl/tag.php
but it doesn't seem like the thing I'm looking for.