forked from nineya/halo-theme-dream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
photos.ftl
22 lines (22 loc) · 925 Bytes
/
photos.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<#include "template/layout.ftl">
<@layout title="相册 - ${blog_title!}" canonical="${photos_url!}">
<#if (photos.content)?? && photos.content?size gt 0>
<div class="card card-content photos">
<div class="photos-title">我的相册</div>
<ul class="photos-teams">
<li class="item">全部</li>
<@photoTag method="listTeams">
<#list teams as item>
<li class="item" data-team="p-${item.team}">${((item.team)?length>0)?then(item.team?trim,'默认图库')}</li>
</#list>
</@photoTag>
</ul>
</div>
<div class="photos-gallery load-block"></div>
<#else>
<div class="card card-empty">
<i class="fa fa-inbox"></i>
还没有上传过相册,回<a href="${context!}">主页</a>看看吧
</div>
</#if>
</@layout>