From 689e85e78c106cefb6c83bcdbeae565d021d2e96 Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Fri, 3 May 2019 18:54:32 -0400 Subject: Broke apart journal page elements, restored favicon. --- _includes/all-posts.liquid | 20 ++++++++++++++++++++ _includes/post-list.liquid | 36 ++++++++++++++++++++++++++++++++++++ _includes/similar-posts.liquid | 23 +++++++++++++++++++++++ _includes/toc.liquid | 23 ----------------------- 4 files changed, 79 insertions(+), 23 deletions(-) create mode 100644 _includes/all-posts.liquid create mode 100644 _includes/post-list.liquid create mode 100644 _includes/similar-posts.liquid delete mode 100644 _includes/toc.liquid (limited to '_includes') diff --git a/_includes/all-posts.liquid b/_includes/all-posts.liquid new file mode 100644 index 0000000..f8377b1 --- /dev/null +++ b/_includes/all-posts.liquid @@ -0,0 +1,20 @@ + diff --git a/_includes/post-list.liquid b/_includes/post-list.liquid new file mode 100644 index 0000000..7f6d55d --- /dev/null +++ b/_includes/post-list.liquid @@ -0,0 +1,36 @@ +
+ {% for post in collections.posts.pages %} +
+
+
+

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

+
+
+

+ {{ post.title }} +

+
+ {{ post.content | truncatewords: 50 }} +
+
+ +
+
+ {% endfor %} +
diff --git a/_includes/similar-posts.liquid b/_includes/similar-posts.liquid new file mode 100644 index 0000000..be5ef52 --- /dev/null +++ b/_includes/similar-posts.liquid @@ -0,0 +1,23 @@ + diff --git a/_includes/toc.liquid b/_includes/toc.liquid deleted file mode 100644 index 58f1815..0000000 --- a/_includes/toc.liquid +++ /dev/null @@ -1,23 +0,0 @@ - -
- -
- -- cgit v1.2.3