feature(pages): first draft
This commit is contained in:
28
tags.ftl
28
tags.ftl
@@ -1,13 +1,21 @@
|
||||
<#include "module/macro.ftl">
|
||||
<@layout title="标签列表 - ${blog_title!}">
|
||||
<h1>标签列表</h1>
|
||||
<ul>
|
||||
<@tagTag method="list">
|
||||
<#if tags?? && tags?size gt 0>
|
||||
<#list tags as tag>
|
||||
<li><a href="${tag.fullPath!}">${tag.name}</a></li>
|
||||
</#list>
|
||||
</#if>
|
||||
</@tagTag>
|
||||
</ul>
|
||||
<main>
|
||||
<#include "module/header.ftl">
|
||||
<div class="tags">
|
||||
<ul id="tags">
|
||||
<@tagTag method="list">
|
||||
<#if tags?? && tags?size gt 0>
|
||||
<#list tags as tag>
|
||||
<li>
|
||||
<a href="${tag.fullPath!}">
|
||||
${tag.name} <span class="count">${tag.postCount!0}</span>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</#if>
|
||||
</@tagTag>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
</@layout>
|
||||
|
||||
Reference in New Issue
Block a user