List only the @name element of each location.
authorMike Taylor <mike@indexdata.com>
Thu, 28 Nov 2013 15:07:49 +0000 (15:07 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 28 Nov 2013 15:07:49 +0000 (15:07 +0000)
(We could improve on this by displaying holdings, when present.)

examples/htdocs/mike.html

index 3714e68..5d45a27 100644 (file)
@@ -69,7 +69,7 @@
          <td>
            <ul>
              {{#each location}}
-               <li>{{json this}}</li>
+               <li>{{attr 'name'}}</li>
              {{/each}}
            </ul>
          </td>