summaryrefslogtreecommitdiffstats
path: root/_includes/latest.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/latest.html')
-rw-r--r--_includes/latest.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/latest.html b/_includes/latest.html
new file mode 100644
index 0000000..6b6e114
--- /dev/null
+++ b/_includes/latest.html
@@ -0,0 +1,21 @@
+ <div class="articles">
+ <table class="posts-table">
+
+ {% assign posts = site.blog | sort: 'date' | reverse %}
+ {% for post in posts limit: include.limit %}
+
+ <tr>
+ <td class="posts-td posts-td-link">
+ <a href="{{ post.url }}" class="link-decor-none">{{ 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>