forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patharchive.html
More file actions
17 lines (15 loc) · 673 Bytes
/
Copy patharchive.html
File metadata and controls
17 lines (15 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
layout: page
title: Archive
permalink: /archive/index.html
description: "An archive of posts sorted by date."
---
<p style="text-align: center">So far I've written <span class="bluenumber">{{ site.posts.size }}</span> posts, not too shabby, but a lot more to come!</p>
{% assign posts = site.posts | sort: "date" | reverse %}
{% for post in posts %}
<ul class="post-list">
{% if post.title != null %}
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></a></li>
{% endif %}
</ul>
{% endfor %}