forked from dhjddcn/halo-theme-butterfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories.ftl
28 lines (27 loc) · 894 Bytes
/
categories.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<#include "template/layout.ftl">
<#include "template/common/empty.ftl">
<@layout
title="${settings.categories_title!}"
type="categories"
top_background_img="${settings.top_categories_background_img}"
enable_aside=settings.enable_categories_aside
>
<@categoryTag method="list">
<#if categories?? && categories?size gt 0>
<#list categories as category>
<a class="by_category hvr-float-shadow" href="${category.fullPath!}"
title="${category.name!}"
data-num="${category.postCount!}"
>
${category.name!}
<span>${category.postCount!}</span>
</a>
</#list>
<#else>
<@empty showBg = false/>
</#if>
</@categoryTag >
<div class="by_category_echarts">
<div id="chart"></div>
</div>
</@layout>