-
Notifications
You must be signed in to change notification settings - Fork 4
/
blog.html
40 lines (37 loc) · 1019 Bytes
/
blog.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
---
layout: default
permalink: /blog/
title: "Latest news"
---
<div class="popout">
<section>
<h1>{{ page.title }} <a href="{{ "/feed.xml" | prepend: site.baseurl }}" target="_blank">{% include icons/rss-square.svg %}</a></h1>
<hr />
</section>
</div>
<section>
<ul class="post-list">
{% for post in site.posts %}
<li>
{% include post_excerpt.html post=post %}
</li>
{% endfor %}
</ul>
</section>
{% if paginator.total_pages > 1 %}
<section>
<div class="pagination">
{% if paginator.previous_page %}
<a href="/page{{ paginator.previous_page }}" class="previous">⎗</a>
{% else %}
<span class="previous">⎗</span>
{% endif %}
<span class="page-number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="next">⎘</a>
{% else %}
<span class="next ">⎘</span>
{% endif %}
</div>
</section>
{% endif %}