This commit is contained in:
@@ -60,118 +60,124 @@
|
||||
</p>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != recentComments?size>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
<ul class="aside-comments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<img class="left" title='${comment.commentName}'
|
||||
alt='${comment.commentName}'
|
||||
src='${comment.commentThumbnailURL}' width="32" height="32"/>
|
||||
<div class="left">
|
||||
<div>
|
||||
<a target="_blank" href="${comment.commentURL}">
|
||||
${comment.commentName}
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a rel="nofollow" class='side-comment' href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='clear'></div>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
<ul id="mostCommentArticles">
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<a rel="nofollow" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">
|
||||
<sup>[${article.articleCommentCount}]</sup>
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
<ul id="mostViewCountArticles">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<a rel="nofollow" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">
|
||||
<sup>[${article.articleViewCount}]</sup>
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<h4>${categoryLabel}</h4>
|
||||
<ul>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a href="${servePath}/category/${category.categoryURI}"
|
||||
title="${category.categoryTitle} (${category.categoryTagCnt})">
|
||||
${category.categoryTitle}</a>(${category.categoryTagCnt})
|
||||
</li>
|
||||
<#if article?? && article.articleToC?? && article.articleToC?size > 0>
|
||||
<#include "../../common-template/toc.ftl"/>
|
||||
<#else>
|
||||
|
||||
<#if 0 != recentComments?size>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
<ul class="aside-comments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<img class="left" title='${comment.commentName}'
|
||||
alt='${comment.commentName}'
|
||||
src='${comment.commentThumbnailURL}' width="32" height="32"/>
|
||||
<div class="left">
|
||||
<div>
|
||||
<a target="_blank" href="${comment.commentURL}">
|
||||
${comment.commentName}
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a rel="nofollow" class='side-comment' href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='clear'></div>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<h4>${tagsLabel}</h4>
|
||||
<ul class="navi-tags">
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
<sup>[${tag.tagPublishedRefCount}]</sup>
|
||||
${tag.tagTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<h4>${linkLabel}</h4>
|
||||
<ul id="sideLink" class="navi-tags">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
${link.linkTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<h4>${archiveLabel}</h4>
|
||||
<ul>
|
||||
<#list archiveDates as archiveDate>
|
||||
<#if archiveDate_index < 10>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
<ul id="mostCommentArticles">
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
<a rel="nofollow" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">
|
||||
<sup>[${article.articleCommentCount}]</sup>
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
<ul id="mostViewCountArticles">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<a rel="nofollow" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">
|
||||
<sup>[${article.articleViewCount}]</sup>
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<h4>${categoryLabel}</h4>
|
||||
<ul>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a href="${servePath}/category/${category.categoryURI}"
|
||||
title="${category.categoryTitle} (${category.categoryTagCnt})">
|
||||
${category.categoryTitle}</a>(${category.categoryTagCnt})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<h4>${tagsLabel}</h4>
|
||||
<ul class="navi-tags">
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
<sup>[${tag.tagPublishedRefCount}]</sup>
|
||||
${tag.tagTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<h4>${linkLabel}</h4>
|
||||
<ul id="sideLink" class="navi-tags">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
${link.linkTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<h4><a href="${servePath}/archives.html">${archiveLabel}</a></h4>
|
||||
<ul>
|
||||
<#list archiveDates as archiveDate>
|
||||
<#if archiveDate_index < 10>
|
||||
<li>
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
</#if>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user