{# Relationship. Note that use the label you set for the relation, not the content-type name. #}
<% if(controlInfo.meta ? controlInfo.meta.isSingle : false) { %>
{# You can ouput more than just the name. Feel free to output more fields from the CMS. #}
{{ <%- value %>.name }}
<% } else { %>
{% for relation in <%- value %> %}
{# You can ouput more than just the name. Feel free to output more fields from the CMS. #}
{{ relation.name }}{% if not loop.last %},{% endif %}
{% endfor %}
<% } %>