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 id="a">
<#include "header.ftl">
<div id="b">
<article>
<cite>${categoryLabel}</cite>
<blockquote>
${category.categoryTitle}
(${category.categoryTagCnt}) ${category.categoryDescription}
</blockquote>
<#include "article-list.ftl">
</article>
<#include "side.ftl">
<div class="clear"></div>
</div>
<#include "footer.ftl">
</div>
</body>
</html>

View File

@@ -1,16 +1,4 @@
<aside>
<!--
<h4>Search</h4>
<form action="http://www.google.com/cse" id="cse-search-box" class="s" target="_blank">
<div>
<input type="hidden" name="cx" value="014052262704486520429:eeg5ule8tro" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="oe" value="UTF-8">
<input type="hidden" name="hl" value="zh-CN">
<input type="text" name="q" size="15" value="&#x7AD9;&#x5185;&#x641C;&#x7D22;" onclick="this.value=''"/>
<input type="hidden" name="sa" value="site-search"/>
</div>
</form>-->
<nav>
<h4>Navigation</h4>
<ul>
@@ -99,8 +87,22 @@
</#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>${popTagsLabel}</h4>
<h4>${tagsLabel}</h4>
<ul class="navi-tags">
<#list mostUsedTags as tag>
<li>