-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·38 lines (34 loc) · 1.37 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
---
layout: default
title: Homepage
---
<div class="main-post-list hidden">
<ol class="post-list">
{% for post in paginator.posts %}
<li>
<h2 class="post-list__post-title post-title"><a href="{{ post.url }}" title="访问 {{ post.title }}">{{ post.title }}</a></h2>
<p class="excerpt">{{ post.content | strip_html | strip_newlines | truncate: 250 }}…</p>
<div class="post-list__meta">
<time datetime="{{post.date | date: date_to_xmlschema}}" class="post-list__meta--date date">{{ post.date | date: "%F"}}</time>
<div class = "tag-img-icon">
<img src="/images/tag-alt-icon.png" />
</div>
<a href="/tags">
<div class = "post-list-icon-mate">
<span class="post-list__meta--tags" style="background-image: url('/images/tag-bg-left.png') "></span>
</div>
<div class = "post-list-icon-mate">
<!-- <div class = "post-list-icon-right"> -->
<span class="post-list__meta--tags-right">{% for tag in post.tags %}{{ tag | xml_escape }} {% endfor %}</span>
<!-- <div> -->
</div>
<div class = "post-list-small-mate">
<a class="btn-border-small" href={{ post.url }}>Full text...</a>
</div>
</div>
<hr class="post-list__divider" />
</li>
{% endfor %}
</ol>
{% include pagination.html %}
</div>