-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (42 loc) · 1.65 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
45
---
layout: page
title: initialxy
---
{% include JB/setup %}
<div class="main">
<div class="posts_summary">
{% for post in paginator.posts %}
<div class="post_summary">
<h1>
<a class="text-reset" href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a>
</h1>
<div class="post_info">
<small class="author">
<a href="{{ site.authors[post.author].about }}">{{ site.authors[post.author].display_name }}</a>
</small>
<small class="updated text-muted">{{ post.date | date: "%b %-d, %Y" }}</small>
</div>
{{ post.excerpt | markdownify }}
<a class="btn btn-light" role="button" href="{{ BASE_PATH }}{{ post.url }}">Read More</a>
</div>
{% endfor %}
</div>
<div class="pagination_container">
<div class="pagination btn-group" role="group">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="prev btn btn-light" href="/" title="Previous Page">Previous</a>
{% else %}
<a class="prev btn btn-light" href="/page{{ paginator.previous_page }}" title="Previous Page">Previous</a>
{% endif %}
{% else %}
<a class="prev btn btn-light disabled">Previous</a>
{% endif %}
{% if paginator.next_page %}
<a class="next btn btn-light" href="/page{{ paginator.next_page }}" title="Next Page">Next</a>
{% else %}
<a class="next btn btn-light disabled">Next</a>
{% endif %}
</div>
</div>
</div>