mirror of
https://github.com/MinimalBible/MinimalBible.github.io
synced 2025-07-01 22:05:59 -04:00
Rename archive.html to posts.html and all instances
This commit is contained in:
22
posts.html
Normal file
22
posts.html
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
layout: post-index
|
||||
permalink: /posts/
|
||||
title: All Posts
|
||||
description: "An archive of posts."
|
||||
---
|
||||
|
||||
{% for post in site.posts %}
|
||||
<article class="hentry">
|
||||
<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 %} • <span class="entry-comments"><a href="{{ site.url }}{{ post.url }}#disqus_thread">Comment</a></span>{% endif %}</div><!-- /.entry-meta -->
|
||||
{% 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>
|
||||
{% else %}
|
||||
<h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h1>
|
||||
{% endif %}
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<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 %}
|
Reference in New Issue
Block a user