forked from rememberlenny/open-journalism-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (49 loc) · 1.47 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
layout: default
---
<div class="home">
{% if site.theme.header_text %}
<div class="call-out">{{ site.theme.header_text }}</div>
{% endif %}
<div class="posts">
{% for post in paginator.posts %}
<div class="post-teaser">
<header>
<h1>
<a class="post-link" >{{ post.title }}</a>
</h1>
</header>
<div class="excerpt">
{{ post.excerpt }}
<a class="button" href="{{ site.baseurl }}/{{ post.title | replace: ' ', '-' }}">{{ site.theme.str_continue_reading }}</a>
</div>
</div>
{% endfor %}
</div>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
<i class="fa fa-chevron-left"></i>
{{ site.theme.str_prev }}
</a>
{% else %}
<span class="button disabled" class="button" >
<i class="fa fa-chevron-left"></i>
{{ site.theme.str_prev }}
</span>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
{{ site.theme.str_next }}
<i class="fa fa-chevron-right"></i>
</a>
{% else %}
<span class="button disabled" >
{{ site.theme.str_next }}
<i class="fa fa-chevron-right"></i>
</span>
{% endif %}
</div>
{% endif %}
</div>