From 4373e1f7baada56627d0946534afadae5ebda403 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 18 Jul 2020 15:53:12 -0400 Subject: updated blog page; how posts are rendered, made meta pull from frontmatter --- _includes/post-card.liquid | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..8e2a0a7 --- /dev/null +++ b/_includes/post-card.liquid @@ -0,0 +1,39 @@ +
+
+
+

+ {{ post.title }} +

+
+
+ {% if post.data.coverImage %} +
+
+ + + + + +
+
+ {% endif %} +
+
+ {{ post.content | truncatewords: 20 }} + + + + + Read more + +
+
+ +
-- cgit v1.2.3