-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (43 loc) · 1.15 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
---
layout: default
title: Digits by Me
---
<section id="content">
<h1><i class="icon-th-list"></i>Recent Posts</h1>
<ol class="posts-list hfeed">
{% for post in paginator.posts %}
<li>
<article class="hentry">
<header>
<h2 class="entry-title"><a href="{{ post.url }}" title="Permalink to {{ post.title }}">{{ post.title }}</a></h2>
</header>
<footer class="post-info">
<div class="date">
<p>{{ post.date | date: "%d" }}
<span>{{ post.date | date: "%b" }}</span>
</p>
</div>
</footer>
<div class="entry-content">
{% if post.abstract %}
<p>{{ post.abstract }}</p>
{% endif %}
</div>
</article>
</li>
{% endfor %}
</ol>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.page > 1 %}
<a href="/page{{paginator.previous_page}}" class="previous">« previous</a>
{% endif %}
{% else %}
{% endif %}
<span class="page_number"> {{ paginator.page }} of {{ paginator.total_pages }} </span>
{% if paginator.next_page %}
<a href="/page{{paginator.next_page}}" class="next">next »</a>
{% endif %}
</div>
</section>