-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.html
50 lines (45 loc) · 1.12 KB
/
blog.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
49
50
---
layout: blog
section_id: blog
---
{% for post in paginator.posts %}
<div class='big mod modBlogPost no_bg'>
<div class='images'>
{% for image in post.images %}
<div class='image'><img alt="" src="{{site.url}}/{{image}}" /></div>
{% endfor %}
</div>
<div class='content'>
<p class='info'>
<span>{{post.date | date: "%B %d, %Y" }}</span>
/
<span>
by
<a href="">{{post.author}}</a>
</span>
/
<span>
In
{% for cat in post.categories %}
<a href="#">{{cat}}</a>
{% unless forloop.last %}
,
{% endunless %}
{% endfor %}
</span>
/
<span>
<a href="#">4 comments</a>
</span>
</p>
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
<p>{{post.excerpt}}</p>
<div class='spacing'></div>
<a class="button small" href="{{post.url}}">Read more</a>
</div>
</div>
<hr>
<div class='two spacing'></div>
{% endfor %}
{% include pagination.html root="blog" %}
<div class='four spacing'></div>