-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (26 loc) · 910 Bytes
/
index.html
File metadata and controls
28 lines (26 loc) · 910 Bytes
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
---
layout: master
---
<section class="articles">
{% for post in paginator.posts %}
<article>
<h3 id='title'><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h3>
<p class="byline">Posted on {{ post.date | date: "%d %B %Y" }}</p>
<div id="post_content_overflow">
{{ post.content }}
</div>
<br>
<a href='{{post.url}}' class="readmore">Read Post</a>
</article>
{% endfor %}
{% if paginator.previous_page %}
{% if paginator.page == 2%}
<a href="/" class="backto">← Newer entries</a>
{% else %}
<a href="/{%if paginator.page > 1 %}page{{ paginator.previous_page }}/{% endif %}" class="backto">← Newer entries</a>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="forwardto">Older entries →</a>
{% endif %}
</section>