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,21 @@
<#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}
<#include "header.ftl">
<h3 id="category" class="nav-abs">
${categoryLabel}:
${category.categoryTitle}
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
</h3>
<#include "article-list.ftl">
<#include "footer.ftl">
</body>
</html>

View File

@@ -172,17 +172,17 @@ img {
background-position: -96px -48px;
}
#tags {
.tags {
margin: 0;
}
#tags li {
.tags li {
float: left;
list-style-type: none;
height: 45px;
}
#tags a {
.tags a {
background-color: #FCFCFC;
box-shadow: 0 0 2px #D5D5D5;
display: block;
@@ -190,13 +190,13 @@ img {
padding: 5px 10px;
}
#tags a:hover {
.tags a:hover {
text-shadow: 0 0 2px;
text-decoration: none;
box-shadow: 0 0 4px #D5D5D5;
}
#tags b {
.tags b {
font-size: 70%;
opacity: 0.6;
filter: alpha(opacity=60);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,22 @@
<#include "header.ftl">
<div class="wrapper">
<div class="container">
<ul id="tags" class="module fn-clear">
<#if 0 != mostUsedCategories?size>
<h2>${categoryLabel}</h2>
<ul class="module fn-clear tags">
<#list mostUsedCategories as category>
<li>
<a href="${servePath}/category/${category.categoryURI}">
<span>${category.categoryTitle}</span>
(<b>${category.categoryTagCnt}</b>)
</a>
</li>
</#list>
</ul>
</#if>
<h2>${tagsLabel}</h2>
<ul id="tags" class="tags module fn-clear">
<#list tags as tag>
<li>
<a rel="tag" data-count="${tag.tagPublishedRefCount}"