forked from jerrywell/blogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (39 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
39
40
41
42
43
44
---
layout: default
---
<div id="post-list">
<div class="banner">
<h1>Quire & You</h1>
<h4>Unfold Your Ideas</h4>
</div>
<ul class="posts">
{% for post in paginator.posts %}
{% assign postUrl = post.url | prepend: site.baseurl %}
<li class="post">
<a href="{{ postUrl }}" class="featured-img" style="background-image: url({{ post.image | prepend: "/images/" | prepend: site.baseurl }})"></a>
<div class="post-meta">
<div class="left-meta">
<h5 class="category">{{ post.categories[0] }}</h5>
<a href="{{ postUrl }}" class="title">{{ post.title }}</a>
<h5 class="author">
POSTED BY {{ post.author }} · {{ post.date | date: "%b %-d, %Y" }}
</h5>
</div>
<div class="right-meta">
{{post.index-intro}}
<a class="more" href="{{ postUrl }}">continue reading</a>
</div>
</div>
<div class="clearfix"></div>
</li>
{% endfor %}
<li class="pagination">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl}}" class="newer">OLDER POSTS</a>
{% endif %}
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl}}" class="older">NEWER POSTS</a>
{% endif %}
</li>
</ul>
</div>