From d6fa2485fa7fa9c74f8882f1f66ddd7584645d40 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 14 Oct 2025 23:20:22 -0500 Subject: update theme --- build.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build.py') diff --git a/build.py b/build.py index 12950aa..7c2e23d 100644 --- a/build.py +++ b/build.py @@ -162,7 +162,7 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): if title and date_str and slug: try: date_obj = datetime.strptime(date_str, "%Y-%m-%d") - date_full = date_obj.strftime("%B %d, %Y") + date_full = date_obj.strftime("%Y-%m-%d") except ValueError: # Skip files with invalid date format continue @@ -186,7 +186,7 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): # Build HTML lines lines = [] for post in recent: - lines.append('\t
') + lines.append('\t
') lines.append( f'\t\t' ) @@ -194,7 +194,6 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): f'\t\t\t{post["title"]}' ) lines.append("\t
") - lines.append("\t
") return "\n".join(lines) -- cgit v1.2.3