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,37 @@
<#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="content">
<div class="header">
<#include "header.ftl">
</div>
<div class="body">
<div class="left main">
<div>
<h2 class="marginLeft12 marginBottom12">
${categoryLabel}:
${category.categoryTitle}
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
</h2>
</div>
<#include "article-list.ftl">
</div>
<div class="right side">
<#include "side.ftl">
</div>
<div class="clear"></div>
</div>
<div class="footer">
<#include "footer.ftl">
</div>
</div>
</body>
</html>

View File

@@ -65,10 +65,31 @@
</ul>
<div class="line"></div>
</#if>
<#if 0 != mostUsedCategories?size>
<ul>
<li>
<h4>${categoryLabel}</h4>
</li>
<li>
<ul>
<#list mostUsedCategories as category>
<li>
<a class="tag" href="${servePath}/category/${category.categoryURI}">
${category.categoryTitle}</a> (${category.categoryTagCnt})
</li>
</#list>
</ul>
</li>
</ul>
<div class="line"></div>
</#if>
<#if 0 != mostUsedTags?size>
<ul>
<li>
<h4>${popTagsLabel}</h4>
<h4>${tagsLabel}</h4>
</li>
<li>
<ul>