-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
48 lines (47 loc) · 2.26 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
#include('./header.html',{home_page:1})
<div class="am-g am-g-fixed blog-fixed">
<div class="am-u-lg-8 am-u-sm-12">
#for(article : articles(5).rows)
<article class="am-g blog-entry-article">
<div class="am-u-lg-6 am-u-lg-12 am-u-sm-12 blog-entry-text post-preview">
<div class="topic-header">
<div class="pull-left">
<div class="blog-flex-center">
<div class="blog-flex0">
#if(theme_option('logo_url') == "")
<img src="${theme_url('/static/img/logo.png')}" alt="" class="link avatar avatar-image">
#else
<img src="${theme_option('logo_url')}" alt="" class="link avatar avatar-image">
#end
</div>
<div class="author-lockup blog-flex1">
<a class="link" href="/archives" >${theme_option('blog_author')}</a>
<span class="in">in</span>
<span class="category-name">
${show_categories()}
</span>
</div>
</div>
</div>
<span class="pull-right time pc_time">${created('MMMM dd,yyyy')}</span>
</div>
<h1 class="post-index-title"><a target="_blank" itemtype="url" href="${permalink()}">"${title()}"</a></h1>
<div class="post-content-preview">
${excerpt(200)}...
</div>
<div class="clearfix topic-footer">
<span class="pull-left time mobile_time">${created('MMMM dd,yyyy')}</span>
</div>
</article>
#end
<ul class="am-pagination">
#include('./pagination.html', {articles: articles(5), pos: 'prev', text: '<li class="am-pagination-prev"> « Prev'})
</li>
#include('./pagination.html', {articles: articles(5), pos: 'next', text: '<li class="am-pagination-next"> Next »'})
</li>
</ul>
</div>
#include('./sidebar.html')
</div></div>
<!-- content end -->
#include('./footer.html')