-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (54 loc) · 1.76 KB
/
index.html
File metadata and controls
55 lines (54 loc) · 1.76 KB
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
---
layout: default
---
{% for post in paginator.posts %}
<div class="underlay">
<div class="content">
<div class="teaser">
<header>
<h1>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h1>
<p class="meta">
Posted on {{ post.date | date: "%B %-d, %Y" }}
{% if post.author %} by {{ site.authors[post.author].name }}{% endif %}
</p>
</header>
<main>
{{ post.excerpt }}
</main>
<footer>
<a class="button" href="{{ post.url | prepend: site.baseurl }}">Read Moar...</a>
</footer>
</div>
</div>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="underlay pagination">
<div class="content">
<span class="nav-button">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
<i class="fa fa-chevron-left"></i> BACK
</a>
{% else %}
<p class="no-nav" >
<i class="fa fa-chevron-left"></i> BACK
</p>
{% endif %}
</span>
<span class="nav-button">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
MOAR <i class="fa fa-chevron-right"></i>
</a>
{% else %}
<p class="no-nav" >
MOAR <i class="fa fa-chevron-right"></i>
</p>
{% endif %}
</span>
</div>
</div>
{% endif %}