-
Notifications
You must be signed in to change notification settings - Fork 1
/
page-category.html
36 lines (36 loc) · 1.13 KB
/
page-category.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
#include('./partial/header.html', {title: type })
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div class="post-block category">
<div id="posts" class="posts-collapse">
<div class="collection-title">
#if(is_empty(articles))
<h1>抱歉,还没有相关文章.</h1>
#else
<h1>${keyword}<small>${type}</small></h1>
#end
</div>
#for(article : articles.rows)
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h2 class="post-title">
<a class="post-title-link" href="${permalink()}" itemprop="url">
<span itemprop="name">${title()}</span>
</a>
</h2>
<div class="post-meta">
<time class="post-time" itemprop="dateCreated" content="${created('yyyy年-MM月-dd日')}" >
${created('MM-dd')}
</time>
</div>
</header>
</article>
#end
</div>
</div>
</div>
</div>
#include('./partial/sidebar.html')
#include('./partial/footer.html')