<tr>
  <td>{{id}}</td>
  <td>{{template}}</td>
  <td>
    {{#names}}
      <a href="/greeting/{{id}}?name={{this}}">{{this}}</a>
    {{/names}}
  </td>
</tr>

<tr>
  <td>{{id}}</td>
  <td>{{template}}</td>
  <td>
    {{#names}}
      <a href="/greeting/{{id}}?name={{this}}">{{this}}</a>{{#unless @last}},{{/unless}}
    {{/names}}
  </td>
</tr>

Use @last to write out a proper list in detail template.
Use @last to write out a proper list in detail template.
