Location names now listed with #commaList instead of #each.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 8539204..ca2da46 100644 (file)
@@ -50,7 +50,9 @@
        <tr>
          <th>URL</th>
          <td>
-           {{link md-electronic-url}}
+           {{#each md-electronic-url}}
+             <a href="{{this}}">{{this}}</a><br/>
+           {{/each}}
          </td>
        </tr>
        {{/if}}
        <tr>
          <th>Locations</th>
          <td>
-           {{#each location}}
-             {{#if '@name'}}
-               {{attr '@name'}}<br/>
-             {{/if}}
-           {{/each}}
+           {{#commaList location}}
+             {{attr '@name'}}{{/commaList}}
          </td>
        </tr>
       </table>