-
Notifications
You must be signed in to change notification settings - Fork 202
/
Copy pathindex.html
31 lines (28 loc) · 840 Bytes
/
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
---
layout: blog
title: DataTables 中文网博客
---
<!-- This loops through the paginated posts -->
{% assign postlist = paginator.posts | where: 'layout', 'daily' %}
{% for post in postlist %}
<!-- First Blog Post -->
<h2>
<a href="{{ post.url }}">{{ post.short }}</a>
</h2>
<p>
<span class="glyphicon glyphicon-user"></span>
{{ post.author }}
<span class="glyphicon glyphicon-time"></span>
{{ post.date | date: "%-d %B %Y" }}
<span class='glyphicon glyphicon-comment disqus-comment-count' data-disqus-url="{{ site.wlan_url }}{{ post.url }}"></span>
</p>
<hr>
<img class="img-responsive" src="{{ post.banner }}" alt="">
<p>
{{ post.excerpt | strip_html }}
</p>
<a class="btn btn-primary" href="{{ post.url }}">
阅读更多<span class="glyphicon glyphicon-chevron-right"></span>
</a>
<hr>
{% endfor %}