This commit is contained in:
Van
2017-04-09 04:31:52 +08:00
parent bf212920ad
commit b48eac788f
64 changed files with 1230 additions and 217 deletions

View File

@@ -0,0 +1,29 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${category.categoryTitle} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div class="header">
<#include "header.ftl">
</div>
<div class="content">
<h2>${categoryLabel}
${category.categoryTitle}
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
</h2>
<#include "article-list.ftl">
</div>
<div>
<#include "side.ftl">
</div>
<div class="footer">
<#include "footer.ftl">
</div>
</body>
</html>

View File

@@ -68,9 +68,26 @@
</ul>
</div>
</#if>
<#if 0 != mostUsedCategories?size>
<div class="left footer-block">
<h4><span class="left">${categoryLabel}</span></h4>
<span class="clear"></span>
<ul>
<#list mostUsedCategories as category>
<li class="mostUsedTags">
<a href="${servePath}/category/${category.categoryURI}">
${category.categoryTitle}(${category.categoryTagCnt})</a>
</li>
</#list>
</ul>
</div>
</#if>
<#if 0 != mostUsedTags?size>
<div class="left footer-block">
<h4><span class="left">${popTagsLabel}</span></h4>
<h4><span class="left">${tagsLabel}</span></h4>
<span class="clear"></span>
<ul>
<#list mostUsedTags as tag>