summaryrefslogtreecommitdiffstats
path: root/_includes/archive.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/archive.html')
-rw-r--r--_includes/archive.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/archive.html b/_includes/archive.html
new file mode 100644
index 0000000..897974e
--- /dev/null
+++ b/_includes/archive.html
@@ -0,0 +1,21 @@
+ <div class="articles">
+ <table class="posts-table">
+
+ {% assign posts = site.archive | sort: 'date' | reverse %}
+ {% for post in posts limit: include.limit %}
+
+ <tr>
+ <td class="posts-td posts-td-link">
+ <a href="{{ post.url }}">{{ post.title }}</a>
+ </td>
+ <td class="posts-td posts-td-time">
+ <span class="post-meta">
+ <time datetime="{{ post.date }}">{{ post.date | date: "%Y-%m-%d" }}</time>
+ </span>
+ </td>
+ </tr>
+
+ {% endfor %}
+
+ </table>
+ </div>