-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (56 loc) · 2.55 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
64
65
66
67
---
layout: default
title: Jonathan Mickle
---
<div class="blog-posts">
<div class="container">
{% for post in paginator.posts %}
<div class="post-item">
<div class="post-header">
{% case post.layout %}
{% when 'post_simple' %}
{% include simple_post_header.html %}
{% when 'post_image' %}
{% include image_post_header.html %}
{% when 'post_video' %}
{% include video_post_header.html %}
{% when 'post_audio' %}
{% include audio_post_header.html %}
{% else %}
{% include simple_post_header.html %}
{% endcase %}
</div>
<div class="post-body">
<div class="meta">
<span class="date">{{ post.date | date_to_long_string }}</span>
</div>
<a href="{{site.url}}{{ post.url }}">
<h2 class="title">{{ post.title }}</h2>
</a>
<div class="content">
{{ post.excerpt }}
</div>
</div>
<a href="{{site.url}}{{ post.url }}" class="post-more">Read more</a>
<ul class="post-socials">
<li><a href="https://www.facebook.com/sharer/sharer.php?u={{site.url}}{{post.url}}&t={{post.title}}" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/intent/tweet?original_referer={{site.url}}{{page.url}}&text={{post.title}}&url={{site.url}}{{post.url}}" target="_blank"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://plus.google.com/share?url={{site.url}}{{post.url}}" target="_blank"><i class="fa fa-google-plus"></i></a></li>
</ul>
</div>
{% endfor %}
</div>
<div id="blog-pagination">
<ul>
{% if paginator.previous_page %}
<li class="prev"><a href="{{site.url}}{{paginator.previous_page_path}}"><i class="fa fa-angle-left"></i><span>Prev</span></a></li>
{% endif %}
{% if paginator.previous_page or paginator.next_page%}
<li class="separator"></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="{{site.url}}{{paginator.next_page_path}}"><span>Next</span><i class="fa fa-angle-right"></i></a></li>
{% endif %}
</ul>
</div>
</div>