I’ve added genre to my bibliographic YAML data, but in the case of forum posts it is printed without brackets. It works if I place “post” in the match, as see in the following:
<else-if type="post post-weblog webpage" match="any">
<text variable="genre" prefix=" [" suffix="]"/>
</else-if>