-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (37 loc) · 1.27 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
---
layout: default
title:
---
<!-- Interviews -->
<div class=>
<h1>Latest Interviews</h1>
<br>
<div class="posts">
{% for post in paginator.posts %}
<div class="row">
<h4><a href="{{ post.url }}">{{ post.title }}</a> <br> <span class="pull-right">{{ post.date | date: "%B %d, %Y" }}</span>
<a href="{{ post.url }}"><img src="{{ site.baseurl | append:'img/portraits/' | append:post.vb_id | append:'-portrait.jpg'}}" class="img-polaroid center" width=400 height=400></a></h4>
<span>{{ post.summary }}</span>
</div>
<br>
{% endfor %}
</div>
</div>
<!-- Pagination links -->
<div class="pagination text-center">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a href="/" class="previous">Newer</a>
{% else %}
<a href="/page{{paginator.previous_page}}" class="previous">Newer</a>
{% endif %}
{% else %}
<span class="previous">Newer</span>
{% endif %}
<span class="page_number">Page {{paginator.page}} of {{paginator.total_pages}}</span>
{% if paginator.next_page %}
<a href="/page{{paginator.next_page}}" class="next ">Older</a>
{% else %}
<span class="next ">Older</span>
{% endif %}
</div>