List only the @name element of each location.
[mkws-moved-to-github.git] / examples / htdocs / mike.html
index 0d364b6..5d45a27 100644 (file)
@@ -49,7 +49,7 @@
        {{#if md-electronic-url}}
        <tr>
          <th>URL</th>
-         <td>{{#link md-electronic-url}}{{/link}}</td>
+         <td>{{link md-electronic-url}}</td>
        </tr>
        {{/if}}
        {{#if location}}
        {{/if}}
        <tr>
          <th>Locations</th>
-         <td>{{#json location}}{{/json}}</td>
+         <td>
+           <ul>
+             {{#each location}}
+               <li>{{attr 'name'}}</li>
+             {{/each}}
+           </ul>
+         </td>
        </tr>
       </table>
     </script>