This commit is contained in:
70
Andrea/article-list.ftl
Normal file
70
Andrea/article-list.ftl
Normal file
@@ -0,0 +1,70 @@
|
||||
<dl>
|
||||
<#list articles as article>
|
||||
<dd class="article">
|
||||
<div class="date">
|
||||
<div class="month">${article.articleCreateDate?string("MM")}</div>
|
||||
<div class="day">${article.articleCreateDate?string("dd")}</div>
|
||||
</div>
|
||||
<div class="left">
|
||||
<h2>
|
||||
<a rel="bookmark" href="${servePath}${article.articlePermalink}" title="${tags1Label}${article.articleTags}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup>
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup>
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="article-date">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy HH:mm:ss")}
|
||||
</#if>
|
||||
by
|
||||
<a rel="nofollow" class="underline" title="${article.authorName}" href="${servePath}/authors/${article.authorId}">
|
||||
${article.authorName}</a> |
|
||||
<a rel="nofollow" class="underline" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount}${commentLabel}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="article-abstract article-body">
|
||||
${article.articleAbstract}
|
||||
<div class="clear"></div>
|
||||
<a class="right underline" href="${servePath}${article.articlePermalink}">
|
||||
${readmore2Label}...
|
||||
</a>
|
||||
<span class="clear"></span>
|
||||
</div>
|
||||
</dd>
|
||||
</#list>
|
||||
</dl>
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="pagination right">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}/1" title="${firstPageLabel}"><<</a>
|
||||
<a id="previousPage" href="${servePath}${path}/${paginationPreviousPageNum}">${previousPageLabel}</a>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<a href="${servePath}${path}/${paginationPageNum}" class="selected">${paginationPageNum}</a>
|
||||
<#else>
|
||||
<a href="${servePath}${path}/${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount>
|
||||
<a id="nextPage" href="${servePath}${path}/${paginationNextPageNum}">${nextPagePabel}</a>
|
||||
<a title="${lastPageLabel}" href="${servePath}${path}/${paginationPageCount}">>></a>
|
||||
</#if>
|
||||
${sumLabel} ${paginationPageCount} ${pageLabel}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</#if>
|
||||
Reference in New Issue
Block a user