From 11a5ca2792cd0debb6b8f510ffd716e6f734dbd6 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 13 Mar 2026 15:56:35 -0500 Subject: fix *.org headers and revert to minimal site theme --- build.py | 61 +++++++++++++++++++++++-------------------------------------- 1 file changed, 23 insertions(+), 38 deletions(-) (limited to 'build.py') diff --git a/build.py b/build.py index e875e56..435a7ca 100644 --- a/build.py +++ b/build.py @@ -185,13 +185,9 @@ def get_recent_posts_html(content_dir="./content/blog", num_posts=3): lines = [] current_year = None for post in recent: - year = post["date_obj"].year - if year != current_year: - current_year = year - lines.append(f'\t
  • {year}
  • ') lines.append('\t
  • ') - lines.append(f'\t\t{post["title"]}') lines.append(f'\t\t') + lines.append(f'\t\t{post["title"]}') lines.append("\t
  • ") return "\n".join(lines) @@ -454,58 +450,47 @@ def generate_tags_page(content_dir="./content/blog", build_dir="./.build"): posts = tag_map[tag] items = "\n".join( f'
  • ' - f'{p["title"]}' f'' + f'{p["title"]}' f'
  • ' for p in posts ) sections.append(f'

    {tag}

    \n') html = f""" - + - -tags - seijaku - - - + +cleberg.net + + + + + - -
    -seijaku -

    stillness amidst the chaos

    + -
    -
    +

    Tags

      {toc_items}
    {"".join(f"
    {s}
    " for s in sections)}
    -
    """ -- cgit v1.2.3