<div i18n:domain="plone"
     id="category"
     class="documentByLine"
     tal:define="categories context/Subject|nothing"
     tal:condition="categories">
  &mdash;
  <tal:filedunder i18n:translate="label_filed_under">filed under:</tal:filedunder>
  <span tal:repeat="category categories">
    <a href=""
       class="link-category"
       rel="tag"
       tal:content="category"
       tal:attributes="href string:${context/portal_url}/search?Subject%3Alist=${category}">
      Category
      </a><tal:separator condition="not: repeat/category/end">,</tal:separator>
  </span>
</div>