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. --- _layouts/index.liquid | 13 ++++++------ _layouts/journal.liquid | 56 ++----------------------------------------------- _layouts/page.liquid | 7 ++----- _layouts/post.liquid | 47 +++++++++++++++++++++-------------------- 4 files changed, 34 insertions(+), 89 deletions(-) (limited to '_layouts') diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 1b124c3..744b08e 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -7,12 +7,11 @@ -
+
{% include "nav.liquid" %} @@ -57,6 +56,6 @@
{% include "footer.liquid" %}
- + diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid index 01d0fd1..bdd9ee0 100644 --- a/_layouts/journal.liquid +++ b/_layouts/journal.liquid @@ -48,65 +48,13 @@
- + {% include all-posts.liquid %}
- {% for i in (1..20) %} - {% 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 %} - {%endfor%} + {% include post-list.liquid %}
diff --git a/_layouts/page.liquid b/_layouts/page.liquid index 1c5cd99..28e8e20 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -6,10 +6,7 @@ -
+
{% include "nav.liquid" %} @@ -54,6 +51,6 @@
{% include "footer.liquid" %}
- + diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 50fb240..80831a2 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -6,10 +6,7 @@ -
+
{% include "nav.liquid" %} @@ -34,27 +31,25 @@ +

{% if page.categories %} -

- Categories: - {% for category in page.categories %} - - {{ category | downcase }} - - {% endfor %} -

+ Categories: + {% for category in page.categories %} + + {{ category | downcase }} + + {% endfor %} {% endif %} {% if page.tags %} -

- Tags: - {% for tag in page.tags %} - - #{{ tag | downcase }} - - {% endfor %} -

+ Tags: + {% for tag in page.tags %} + + #{{ tag | downcase }} + + {% endfor %} {% endif %} +

@@ -68,8 +63,14 @@
-
- {{ page.content }} +
+
+ {{ page.content }} +
+
+ +
+ {% include similar-posts.liquid %}
@@ -79,6 +80,6 @@ - + -- cgit v1.2.3