-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ftl
52 lines (46 loc) · 1.45 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<#--
@package Akina
-->
<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@1.3.1", theme_base)/>
<#include "header.ftl">
<@header title="${blog_title!}">
<div class="blank"></div>
</@header>
<#if settings.head_notice!false && settings.notice_title!=''>
<div class="notice" style="
<#if (settings.focus_height!true)>
margin-top: 20px;
</#if>
">
<i class="iconfont icon-broadcast"></i>
<div class="notice-content">${settings.notice_title!}</div>
</div>
</#if>
<#if settings.top_feature!true>
<#include "layouts/feature.ftl">
</#if>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<h1 class="main-title" style="font-family: 'Ubuntu', sans-serif;">
<i class="fa fa-envira" aria-hidden="true"></i>
<span class="i18n" data-iname="home.discovery"> </span>
</h1>
<#if posts?? && posts.getTotalElements() gt 0>
<#--Start the Loop-->
<#if (settings.post_list_style!'standard') == 'standard'>
<#list posts.content as post>
<#include "tpl/content.ftl">
</#list>
<#else>
<#include "tpl/content-thumb.ftl">
</#if>
<#else>
<#include "tpl/content-none.ftl">
</#if>
</main><!-- #main -->
<@paginationTag method="index" page="${posts.number}" total="${posts.totalPages}" display="3">
<#include "layouts/list-nextprev.ftl">
</@paginationTag>
</div><!-- #primary -->
<#include "footer.ftl">
<@footer />