From 8ca0649687f4e6a352e081e992c80c90098e9074 Mon Sep 17 00:00:00 2001 From: 53hornet <53hornet@gmail.com> Date: Sun, 28 Apr 2019 12:55:42 -0400 Subject: Moved svg icons and head metadata to includes. --- _layouts/post.liquid | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '_layouts/post.liquid') diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 54bf211..382f17d 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -1,10 +1,7 @@ - - - {{ page.title }} - + {% include "head.liquid" %} @@ -67,7 +64,9 @@ - {% include "footer.liquid" %} + -- cgit v1.2.3 From 47b4026485c89a23c48a9012593cff84f75e7b55 Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Sun, 28 Apr 2019 19:28:14 -0400 Subject: More sensible post organization and TOC. --- _layouts/post.liquid | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to '_layouts/post.liquid') diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 382f17d..777f455 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -25,25 +25,35 @@

- {{ page.published_date | date: "%A, %b %e, %Y" }} + {% if page.published_date %} + {{ page.published_date | date: "%A, %b %e, %Y" }} + {% else %} + Unpublished! + {% endif %}

{% if page.categories %} - {% for category in page.categories %} - - {{ category | downcase }} - - {% endfor %} +

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

{% endif %} {% if page.tags %} - {% for tag in page.tags %} - - {{ tag | downcase }} - - {% endfor %} +

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

{% endif %} @@ -57,8 +67,10 @@
-
- {{ page.content }} +
+
+ {{ page.content }} +
-- cgit v1.2.3 From 77458c3f87eafc1d17f9ef47f9926e0a5a98ceac Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Wed, 1 May 2019 20:55:05 -0400 Subject: Added TOC and cards to journal page. --- _layouts/post.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_layouts/post.liquid') diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 777f455..50fb240 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -18,7 +18,7 @@
-
+

{{ page.title }} @@ -66,7 +66,7 @@
-
+
{{ page.content }} -- cgit v1.2.3 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/post.liquid | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to '_layouts/post.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