Created
December 2, 2014 13:59
-
-
Save jamesfalkner/c2d43ad2a50a54f3bd87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#-- Replace the code inside the <#list></list> section of your "Basic List" ADT with this code --> | |
<#assign assetRenderer = curEntry.getAssetRenderer() /> | |
<#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) /> | |
<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> | |
<#if assetLinkBehavior != "showFullContent"> | |
<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> | |
</#if> | |
<div class="asset-abstract"> | |
<h3 class="asset-title"> | |
${curEntry_index +1}. <a href="${viewURL}">${entryTitle}</a> | |
</h3> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment