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/index.liquid | 12 +++++------- _layouts/page.liquid | 13 +++++++------ _layouts/post.liquid | 9 ++++----- 3 files changed, 16 insertions(+), 18 deletions(-) (limited to '_layouts') diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 6b53922..753a464 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -1,11 +1,7 @@ - - - {{ page.title }} - - + {% include "head.liquid" %} @@ -43,7 +39,7 @@
- +
@@ -55,7 +51,9 @@ - {% include "footer.liquid" %} + diff --git a/_layouts/page.liquid b/_layouts/page.liquid index b97dc7e..101ebc2 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -1,10 +1,7 @@ - - - {{ page.title }} - + {% include "head.liquid" %} @@ -42,7 +39,9 @@
- {% include "toc.liquid" %} +
@@ -50,7 +49,9 @@ - {% include "footer.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 b293b709cba60ee827697928595e1b65ce96f1e3 Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Sun, 28 Apr 2019 16:28:09 -0400 Subject: Added permalink mapping for pages (pretty URLs), cleaned up heads, images. --- _layouts/index.liquid | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '_layouts') diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 753a464..1bea078 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -2,6 +2,7 @@ {% include "head.liquid" %} + @@ -26,11 +27,11 @@
-

+

{{ page.title }}

-
+
{{ page.content }}
@@ -38,8 +39,10 @@
-
- +
+
+ +
-- 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/page.liquid | 4 +++- _layouts/post.liquid | 38 +++++++++++++++++++++++++------------- 2 files changed, 28 insertions(+), 14 deletions(-) (limited to '_layouts') diff --git a/_layouts/page.liquid b/_layouts/page.liquid index 101ebc2..9a728d1 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -35,7 +35,9 @@
- {{ page.content }} +
+ {{ page.content }} +
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 48951dee9900f50e940c4e30d173eab92aa89be3 Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Wed, 1 May 2019 20:28:20 -0400 Subject: Switching to new journal format. --- _layouts/journal.liquid | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 _layouts/journal.liquid (limited to '_layouts') diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid new file mode 100644 index 0000000..19891bf --- /dev/null +++ b/_layouts/journal.liquid @@ -0,0 +1,86 @@ + + + + {% include "head.liquid" %} + + + + +
+ +
+ {% include "nav.liquid" %} +
+ + + +
+
+

+ {{ page.title }} +

+
+
+ + +
+ + + +
+
+ +
+ {{ page.content }} +
+ +
+
+ + + +
+
+
+ + +
+ +
+ + + +
+
+ + +
+
+
+ + +
+ {% include "footer.liquid" %} +
+ + + -- 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/index.liquid | 2 +- _layouts/journal.liquid | 51 ++++++++++++++++++++++++++++++++++++++++++------- _layouts/page.liquid | 4 ++-- _layouts/post.liquid | 4 ++-- 4 files changed, 49 insertions(+), 12 deletions(-) (limited to '_layouts') diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 1bea078..1b124c3 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -21,7 +21,7 @@
-
+
diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid index 19891bf..01d0fd1 100644 --- a/_layouts/journal.liquid +++ b/_layouts/journal.liquid @@ -54,14 +54,17 @@

@@ -70,6 +73,40 @@
+ {% 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%}
diff --git a/_layouts/page.liquid b/_layouts/page.liquid index 9a728d1..1c5cd99 100644 --- a/_layouts/page.liquid +++ b/_layouts/page.liquid @@ -18,7 +18,7 @@
-
+

{{ page.title }}

@@ -31,7 +31,7 @@
-
+
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/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 @@
{% include "footer.liquid" %}
- + -- cgit v1.2.3 From 625b38ba757003d180e9d16223ce07b902b96ce2 Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Sat, 4 May 2019 12:38:26 -0400 Subject: Added lunr.js --- _layouts/journal.liquid | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '_layouts') diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid index bdd9ee0..6251483 100644 --- a/_layouts/journal.liquid +++ b/_layouts/journal.liquid @@ -2,6 +2,7 @@ {% include "head.liquid" %} + @@ -29,6 +30,24 @@
+ +
+
+
+
+
+ +
+
+ +
+
+
+ +
-- cgit v1.2.3 From c7e3a802639ba8bfadbf92a8795b7f80277cf6eb Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Fri, 24 May 2019 18:05:52 -0400 Subject: Merge --- _layouts/journal.liquid | 18 ---------- _layouts/search.liquid | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 18 deletions(-) create mode 100644 _layouts/search.liquid (limited to '_layouts') diff --git a/_layouts/journal.liquid b/_layouts/journal.liquid index 6251483..e3f5ae4 100644 --- a/_layouts/journal.liquid +++ b/_layouts/journal.liquid @@ -30,24 +30,6 @@
- -
-
-
-
-
- -
-
- -
-
-
- -
diff --git a/_layouts/search.liquid b/_layouts/search.liquid new file mode 100644 index 0000000..e1d2434 --- /dev/null +++ b/_layouts/search.liquid @@ -0,0 +1,92 @@ + + + + {% include "head.liquid" %} + + + + + + +
+ +
+ {% include "nav.liquid" %} +
+ + + +
+
+

+ {{ page.title }} +

+
+
+ + +
+ + + +
+
+
+
+ +
+
+ + +
+
+ + + +
+
+ +
+ {{ page.content }} +
+ +
+
+ + + +
+
+
+ + +
+ {% include all-posts.liquid %} +
+ + + +
+ {% include post-list.liquid %} +
+ + +
+
+
+ + +
+ {% include "footer.liquid" %} +
+ + + -- cgit v1.2.3 From cd1969f17742d9d72b1502cb2a6baa62e8be5c3e Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Mon, 3 Jun 2019 20:19:17 -0400 Subject: Let's call it version 1.0. --- _layouts/index.liquid | 58 ++++++++++++++++++++++++------- _layouts/search.liquid | 92 -------------------------------------------------- 2 files changed, 46 insertions(+), 104 deletions(-) delete mode 100644 _layouts/search.liquid (limited to '_layouts') diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 744b08e..39c0084 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -8,10 +8,10 @@
+ is-primary + is-fullheight + is-fullheight-with-navbar + ">
{% include "nav.liquid" %} @@ -22,37 +22,71 @@
-
+
-

- {{ page.title }} -

+

+ Greetings, my name is +

+

+ Adam Carpenter +

- {{ page.content }} +

+ and I am a... +

    +
  • + Computer programmer at ADP +
  • +
  • + Amateur Hudson driver, mechanic, and caretaker +
  • +
  • + Loving fiancé and puppy parent +
  • +
+

+ +

+ and this is my website. +

+ +

+ ↓ Keep reading below ↓ +

-
+
- +
-
+
+ +
+
+
+ {{ page.content }} +
+
+
+ +
{% include "footer.liquid" %}
diff --git a/_layouts/search.liquid b/_layouts/search.liquid deleted file mode 100644 index e1d2434..0000000 --- a/_layouts/search.liquid +++ /dev/null @@ -1,92 +0,0 @@ - - - - {% include "head.liquid" %} - - - - - - -
- -
- {% include "nav.liquid" %} -
- - - -
-
-

- {{ page.title }} -

-
-
- - -
- - - -
-
-
-
- -
-
- - -
-
- - - -
-
- -
- {{ page.content }} -
- -
-
- - - -
-
-
- - -
- {% include all-posts.liquid %} -
- - - -
- {% include post-list.liquid %} -
- - -
-
-
- - - - - - -- cgit v1.2.3