Summary template should grab first thumb.
authorJason Skomorowski <jason@indexdata.com>
Tue, 4 Nov 2014 21:08:02 +0000 (16:08 -0500)
committerJason Skomorowski <jason@indexdata.com>
Tue, 4 Nov 2014 21:08:02 +0000 (16:08 -0500)
src/templates/summary.handlebars

index 8b65174..85b371d 100644 (file)
@@ -12,7 +12,7 @@ md-* - metadata fields passed through from backend
 }}
 {{#if md-thumburl}}
   <a class="mkws-field-thumb" href="#" onclick="{{detailClick}}">
-    <img src="{{md-thumburl}}"/>
+    <img src="{{md-thumburl.[0]}}"/>
   </a>
 {{/if}}
 <div class="mkws-field-data">