-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 1.18 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
---
layout: default
title: Recent Posts
description: "Kyle Niewiada's personal website. I blog about my most interesting projects and useful scripts that I have worked on. I try my best to open-source everything."
regenerate: true
redirect_from:
- "/blog/"
- "/blog/page/1/"
---
<div class="home" id="home">
<ul class="post-list no-list">
{% for post in paginator.posts %}
<li>
<div class="title-meta"><span class="left">{{ post.date | date: '%B %d, %Y' }}</span><span class="right">{{ post.tag | capitalize}}</span></div>
<h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
<p class="description">{{ post.content | strip_html | strip_newlines | truncate: 250 }}</p>
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
<div class="pagination clearfix">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="right button-outline">Newer Posts</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="left button-outline">Older Posts</a>
{% endif %}
</div>
</div>