-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (46 loc) · 1.46 KB
/
index.html
File metadata and controls
47 lines (46 loc) · 1.46 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
---
layout: index
title: A Passion Developer
---
{% for post in paginator.posts %}
<div class="entry">
<h1 class="entry-title">
<a href="{{ post.url }}" title="{{ post.title }}" rel="bookmark">{{ post.title }}</a>
</h1>
<div class="entry-content full-content">
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}
<a href="{{ post.url }}">read more</a>
{% endif %}
<div class="clearboth"></div>
</div>
<p class="category">
Posted in
{% for category in post.categories %}
<a href="/categories/{{ category }}" title="{{ category }}" rel="category tag">{{ category }}</a>
{% endfor %}
<p>
<span class="full-date">
<abbr class="published" title="{{ post.date }}">{{ post.date | date_to_string }}</abbr>
</span>
</p>
</div>
<div class="clearboth"></div>
<div class="rule"><hr/></div>
{% endfor %}
<div class="pagination">
<span class="previous">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/blog.html" title="Previous Page">« Previous</a>
{% else %}
<a href="/page{{ paginator.previous_page }}/" title="Previous Page">« Previous</a>
{% endif %}
{% endif %}
</span>
<span class="next">
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}/" title="Next Page">Next »</a>
{% endif %}
</span>
</div>