<a href="{{ link('resources', $resource) }}" class="" data-tp-primary="on">{$resource.title}</a>
<xf:if is="$resource.isVersioned()">
<span class="u-muted">{$resource.CurrentVersion.version_string}</span>
</xf:if>
<xf:if is="$resource.isExternalPurchasable()">
<span class="label label--primary label--smallest">{$resource.price|currency($resource.currency)}</span>
</xf:if>
</div>