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

76 lines
2.8 KiB
HTML
Raw Normal View History

2014-03-23 19:40:19 +00:00
---
layout: post-index
title: Latest Posts
tags: [programming, blog]
image:
feature: header/abstract-1.jpg
2014-03-23 19:40:19 +00:00
credit: dargadgetz
creditlink: http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/
---
{% for post in paginator.posts %}
<article class="hentry">
<header>
2014-06-14 20:23:13 +00:00
<div class="entry-meta">
<span class="entry-date date published updated"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><span class="author vcard"><span class="fn"><a href="/about/" title="About {{ site.owner.name }}">{{ site.owner.name }}</a></span></span>{% if site.disqus_shortname and post.comments %}&nbsp; &bull; &nbsp;<span class="entry-comments"><a href="{{ post.url }}#disqus_thread">Comment</a></span>{% endif %}
2014-06-15 17:26:21 +00:00
{% if site.reading_time %}
<span class="entry-reading-time pull-right">
<i class="fa fa-clock-o"></i>
{% assign readtime = post.content | number_of_words | divided_by:site.words_per_minute %}
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
</span><!-- /.entry-reading-time -->
{% endif %}
2014-06-14 20:23:13 +00:00
</div><!-- /.entry-meta -->
2014-03-23 19:40:19 +00:00
{% if post.link %}
2014-06-14 20:23:13 +00:00
<h1 class="entry-title"><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}"><i class="fa fa-angle-double-right"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1>
2014-03-23 19:40:19 +00:00
{% else %}
<h1 class="entry-title"><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}" itemprop="url">{{ post.title }}</a></h1>
2014-03-23 19:40:19 +00:00
{% endif %}
</header>
<div class="entry-content">
2014-03-25 21:33:43 +00:00
{% if post.link %}
{{ post.content }}
{% else %}
{{ post.excerpt }}
<p><a href="{{ post.url }}">Continue Reading &raquo;</a></p>
2014-03-25 21:33:43 +00:00
{% endif %}
2014-03-23 19:40:19 +00:00
</div><!-- /.entry-content -->
</article><!-- /.hentry -->
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/" class="btn">Previous</a>
2014-03-23 19:40:19 +00:00
{% else %}
<a href="/page{{ paginator.previous_page }}" class="btn">Previous</a>
2014-03-23 19:40:19 +00:00
{% endif %}
{% else %}
Previous
{% endif %}
<ul class="inline-list">
<li>
{% if paginator.page == 1 %}
<span class="current-page">1</span>
{% else %}
<a href="/">1</a>
2014-03-23 19:40:19 +00:00
{% endif %}
</li>
{% for count in (2..paginator.total_pages) %}
<li>
{% if count == paginator.page %}
<span class="current-page">{{ count }}</span>
{% else %}
<a href="/page{{ count }}">{{ count }}</a>
2014-03-23 19:40:19 +00:00
{% endif %}
</li>
{% endfor %}
</ul>
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="btn">Next</a>
2014-03-23 19:40:19 +00:00
{% else %}
Next
{% endif %}
</div><!-- /.pagination -->