Skip to content

Instantly share code, notes, and snippets.

@jamesfalkner
Last active August 29, 2015 14:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jamesfalkner/3c5635fe3e5fa8771ba3 to your computer and use it in GitHub Desktop.
<div class="asset-abstract container-fluid">
<div class="index span1" style="text-align:center">
<h1>${curEntry_index +1}<h1>
</div>
<div class="asset-image span2">
<img src="${assetRenderer.getThumbnailPath(renderRequest)}" />
</div>
<div class="asset-content span7">
<h3 class="asset-title" style="margin:0 0 10px;line-height:25px;border:0">
<a href="${viewURL}">${entryTitle}</a>
</h3>
<div class="asset-summary">
${htmlUtil.escape(stringUtil.shorten(assetRenderer.getSummary(locale), 50))}
<a href="${viewURL}"><@liferay.language key="read-more" /><span class="hide-accessible"><@liferay.language key="about" />${entryTitle}</span> &raquo;</a>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment