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