MinimalBible.github.io/posts.html

22 lines
1.4 KiB
HTML
Raw Normal View History

2013-08-23 15:06:39 -04:00
---
layout: post-index
permalink: /posts/
2013-08-23 15:06:39 -04:00
title: All Posts
description: "An archive of posts."
---
{% for post in site.posts %}
<article class="hentry">
2013-08-23 15:06:39 -04:00
<header>
<div class="entry-meta"><span class="entry-date date published"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ site.url }}{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><span class="author vcard fn"><a class="url fn" href="{{ site.url }}">{{ site.owner.name }}</a></span>{% if site.disqus_shortname and post.comments %}&nbsp; &bull; &nbsp;<span class="entry-comments"><a href="{{ site.url }}{{ post.url }}#disqus_thread">Comment</a></span>{% endif %}</div><!-- /.entry-meta -->
2013-08-23 15:06:39 -04:00
{% if post.link %}
<h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}"><i class="icon-double-angle-right"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1>
2013-08-23 15:06:39 -04:00
{% else %}
<h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h1>
2013-08-23 15:06:39 -04:00
{% endif %}
</header>
<div class="entry-content">
2013-08-23 15:06:39 -04:00
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %} <a href="{{ site.url }}{{ post.url }}">Continue reading</a></p>
</div><!-- /.entry-content -->
</article><!-- /.hentry -->
{% endfor %}