forked from pyricau/pyricau.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (42 loc) · 1.23 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
---
title: Home
active: home
layout: base
---
<div class="hero-unit">
<h1>Pierre-Yves Ricau</h1>
<p>I write code, and I like it.</p>
<p><a class="btn btn-info" href="/cv.html"><i class="icon-briefcase icon-white"></i> My CV »</a></p>
</div>
<h1 class="entries">Blog entries</h1>
{% for page in paginator.posts %}
{% unless page.draft %}
<hr>
<article>
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
{% include post_date.html %}
{% if page.more %}
{{ page.content | truncate: page.more, "" }}
{% else %}
<!--start_output-->{{ page.content | truncatewords: 100, "" }}
{% endif %}
<p><a class='btn' href='{{ page.url }}'><i class="icon-book"></i> Read this entry »</a></p>
</article>
{% endunless %}
{% endfor %}
<ul class="pager">
{% if paginator.previous_page == 1 %}
<li class="next">
<a href="/" >Next Entries →</a>
</li>
{% elsif paginator.previous_page %}
<li class="next">
<a href="/page{{ paginator.previous_page }}">Next Entries →</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="previous">
<a href="/page{{ paginator.next_page }}">← Previous Entries</a>
</li>
{% endif %}
</ul>