From 5684b8250c76696a88f9c252eeded197c29dec00 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Fri, 18 Jul 2025 23:23:29 -0400 Subject: [PATCH] Add a basic journaling/blogging system --- _layouts/post.html | 7 +++++++ _posts/2025-07-18-hello-world.md | 9 +++++++++ journal.html | 19 +++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 _layouts/post.html create mode 100644 _posts/2025-07-18-hello-world.md create mode 100644 journal.html diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..a97ffd7 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +Back + +{{ content }} diff --git a/_posts/2025-07-18-hello-world.md b/_posts/2025-07-18-hello-world.md new file mode 100644 index 0000000..8bfebe4 --- /dev/null +++ b/_posts/2025-07-18-hello-world.md @@ -0,0 +1,9 @@ +--- +title: "Hello World" +layout: post +--- +# Welcome + +**Hello world**, this is my first Jekyll blog post. + +I hope you like it! diff --git a/journal.html b/journal.html new file mode 100644 index 0000000..7dfe7d8 --- /dev/null +++ b/journal.html @@ -0,0 +1,19 @@ +--- +title: "Journal" +layout: default +--- + +

Journal

+ +{% assign posts_by_month = site.posts | group_by_exp: "post", "post.date | date: '%B %Y'" %} +{% for month in posts_by_month %} +

{{ month.name }}

+ +{% endfor %}