genrehtml|[%- IF itemobj.genres %] [% genresHTML = [] -%]
			[%- genres = item.genres || itemobj.genres -%]
			[%- FOREACH genre = genres -%]
				[%- genreHTMLFrag = "$genre.name" %]
				[%- genresHTML.push(genreHTMLFrag) -%]
			[%- END %]
		[%- END -%]
		[%- genresHTML.join(', ') -%]