From c89913072c86cb9068c2e198ef4f828ed179e014 Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Fri, 10 Jul 2026 19:18:01 +0100 Subject: [PATCH] docs site: page title without duplication on the landing page --- docs/site/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/site/build.py b/docs/site/build.py index 568fe05..05d45d5 100644 --- a/docs/site/build.py +++ b/docs/site/build.py @@ -92,7 +92,7 @@ HEAD = """ - {title} | Noema | Andy Dixon + {titletag} | Andy Dixon @@ -344,7 +344,7 @@ def render_page(idx, slug, title, summary, md): {contents} ''' canonical = SITE + BASE + ("" if slug == "index" else slug) - page = HEAD.format(title=html.escape(title), desc=html.escape(summary), canonical=canonical, style=STYLE) + head_box + "\n".join(boxes) + nav_box + TAIL + page = HEAD.format(title=html.escape(title), titletag=html.escape(title if slug == "index" else title + " | Noema"), desc=html.escape(summary), canonical=canonical, style=STYLE) + head_box + "\n".join(boxes) + nav_box + TAIL return page