Skip to content

Instantly share code, notes, and snippets.

@makbeta
Created November 30, 2012 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makbeta/4173292 to your computer and use it in GitHub Desktop.
Save makbeta/4173292 to your computer and use it in GitHub Desktop.
Luminate CMS: How to render a category (as a comma separated list) in a single display template:
<t:if test="category-field-name.length > 0">
<t:list id="category-field-name">
<a href="list-page.html?category-field-name=${name}">${label}</a><t:if test="index != length">,</t:if>
</t:list>
</t:if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment