🚧 #12256 skins
This commit is contained in:
29
community/category-articles.ftl
Normal file
29
community/category-articles.ftl
Normal 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>
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user