-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
43 lines (42 loc) · 1.17 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
#include('./header.html')
<div class="mask"></div>
<style media="screen">
.page-header {
background:url("${theme_url('/static/images/cover.jpg')}");
background-repeat: no-repeat;
background-size: 100% auto;
background-position: center;
}
@media screen and (max-width:960px) {
.page-header {
background-size: 100% 100%;
}
}
</style>
<header class="page-header">
<div class="page-header-title">
<h1 class="animated fadeIn"><a href="${site_url()}">${site_title()}</a></h1>
<p class="animated2 fadeIn">${site_description()}</p>
</div>
</header>
<div class="container">
<div class="container-main">
#for(article : articles.list)
<article class="post-block">
<header class="animated2 fadeInDown">
<h2><a href="${permalink()}">${title()}</a></h2>
<time datetime="${created('EEE, d MMM yyyy')}">${created('EEE, d MMM yyyy')}</time>
</header>
<section class="animated fadeInDown">
${intro(200)}
</section>
<footer></footer>
</article>
#end
<nav class="page-pagination">
#call pageLink('上一页','prev')
#call pageLink('下一页','next')
</nav>
</div>
</div>
#include('./footer.html')