forked from shanalikhan/shanalikhan.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (49 loc) · 1.44 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
---
layout: default
---
<div class="home">
{% if site.themesetting.header_text %}
<div class="call-out"
style="background-image: url('{{ site.baseurl }}/{{ site.themesetting.header_text_feature_image }}')">
{{ site.themesetting.header_text }}
</div>
{% endif %}
<div class="posts">
{% for post in paginator.posts %}
<div class="post-teaser">
<header>
<h1>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
</h1>
<p class="meta">
{{ post.date | date: "%B %-d, %Y" }}
</p>
</header>
<div class="excerpt">
{{ post.excerpt }}
<a class="button" href="{{ post.url | prepend: site.baseurl }}">
{{ site.themesetting.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.themesetting.str_prev }}
</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
{{ site.themesetting.str_next }}
<i class="fa fa-chevron-right"></i>
</a>
{% endif %}
</div>
{% endif %}
</div>