From 402decfde5390d1c84a0a5dd74635de3d7c634c2 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sat, 15 Jun 2019 21:10:45 -0400 Subject: Broke out single post card; updated index with latest post. --- _includes/post-card.liquid | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 _includes/post-card.liquid (limited to '_includes/post-card.liquid') diff --git a/_includes/post-card.liquid b/_includes/post-card.liquid new file mode 100644 index 0000000..558b227 --- /dev/null +++ b/_includes/post-card.liquid @@ -0,0 +1,30 @@ +
+
+

+ {% if post.published_date %} + {{ post.published_date | date: "%A, %b %e, %Y" }} + {% endif %} +

+
+
+

+ {{ post.title }} +

+
+ {{ post.content | truncatewords: 50 }} +
+
+ +
-- cgit v1.2.3