1
0
Fork 0
blog.kempkens.io/index.html

48 lines
1.2 KiB
HTML
Raw Normal View History

2014-03-23 19:40:19 +00:00
---
2014-11-30 20:47:18 +00:00
layout: default
title: Home
2014-03-23 19:40:19 +00:00
---
2014-11-30 20:47:18 +00:00
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
2014-12-29 21:15:43 +00:00
{% if post.category == "links" %}
&#9875; <a href="{{ post.link }}" rel="external">{{ post.title }}</a>
{% else %}
<a href="{{ post.url }}">{{ post.title }}</a>
{% endif %}
2014-11-30 20:47:18 +00:00
</h1>
2014-03-25 21:33:43 +00:00
2014-12-29 21:15:43 +00:00
<span class="post-date">
{{ post.date | date_to_string }}
&middot;
2014-12-29 23:03:49 +00:00
<a href="{{ post.url }}" title="Permalink">&#8734;</a>
2014-12-29 21:15:43 +00:00
</span>
2014-11-30 20:47:18 +00:00
2014-12-29 21:15:43 +00:00
{% if post.category == "links" %}
{{ post.content }}
{% else %}
{{ post.excerpt }}
{% endif %}
2014-11-30 20:47:18 +00:00
</div>
{% endfor %}
</div>
2014-03-23 19:40:19 +00:00
<div class="pagination">
2014-11-30 20:47:18 +00:00
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
2014-03-23 19:40:19 +00:00
{% if paginator.previous_page %}
2014-11-30 20:47:18 +00:00
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
2014-03-23 19:40:19 +00:00
{% else %}
2014-11-30 20:47:18 +00:00
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
2014-03-23 19:40:19 +00:00
{% endif %}
{% else %}
2014-11-30 20:47:18 +00:00
<span class="pagination-item newer">Newer</span>
2014-03-23 19:40:19 +00:00
{% endif %}
2014-11-30 20:47:18 +00:00
</div>