-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (74 loc) · 3.61 KB
/
index.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="${favicon}" type="image/x-icon">
<link rel="shortcut icon" href="${favicon}" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>首页 - ${title}</title>
<link rel="stylesheet" href="${una}/${theme}/css/font-awesome.css">
<link rel="stylesheet" href="${una}/${theme}/css/ionicons.css">
<link rel="stylesheet" href="${una}/${theme}/css/adminlte.css">
<link rel="stylesheet" href="${una}/${theme}/css/unaboot.css">
</head>
<body>
<div class="sidebar animated fadeInDown">
<#include "./left.html"/>
</div>
<div class="main">
<div class="page-top animated fadeInDown">
<#include "./nav.html"/>
</div>
<div class="autopagerize_page_element">
<div class="content">
<@u_post_page_detail type=0 offset=offset size=15>
<#if results?? && results.content?size gt 0>
<#list results.content as post>
<div class="post animated fadeInDown">
<div class="post-title mb-2">
<h3>
<a href="${una}/blog/${post.slug}">${post.title}</a>
</h3>
</div>
<div class="post-content">
<div class="p_part">
<p>${post.summary}</p>
</div>
</div>
<div class="post-footer">
<div class="meta">
<div class="info">
<i class="fa fa-sun-o"></i>
<span class="date">${u_timeAgo(post.createTime)}</span>
<i class="fa fa-user-circle-o"></i>
<a href="#">${post.author}</a>
<i class="fa fa-eye"> ${post.visits!'0'}</i>
<i class="fa fa-list-ol"></i>
<a href="${una}/category/${post.category.slug}">${post.category.name}</a>
<i class="fa fa-tags"></i>
<#if post.tags?? && post.tags?size gt 0>
<#list post.tags as tag>
<a href="${una}/tag/${tag.name}" class="tag"> ${tag.name}</a>
</#list>
</#if>
</div>
</div>
</div>
</div>
</#list>
</#if>
</@u_post_page_detail>
<div class="pagination">
${u_postPage(una+"/index" 0 offset 5 15)}
</div>
</div>
</div>
</div>
<script src="${una}/${theme}/js/jquery/jquery.min.js"></script>
<script src="${una}/${theme}/js/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="${una}/${theme}/js/adminlte.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>