From 0401c3351b90e78123ffd7f65eb4a3aafbd462ce Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Mon, 3 Aug 2026 17:00:28 -0400 Subject: [PATCH] =?UTF-8?q?Page=20titles=20lead=20with=20the=20page:=20"Ti?= =?UTF-8?q?tles=20=C2=B7=20bggpipe"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cramped contexts (home-screen labels, narrow tab strips) truncate the tail of a title; "bggpipe — pipeline" lost the only distinctive word. The separator becomes a middle dot, which wraps cleanly where the em dash read as one glued token. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_016jXZFSTZQKzAC8fqpWSz9g --- src/bggpipe/templates/pages/photo.html | 2 +- src/bggpipe/webreview.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bggpipe/templates/pages/photo.html b/src/bggpipe/templates/pages/photo.html index 1ebd3be..0227d39 100644 --- a/src/bggpipe/templates/pages/photo.html +++ b/src/bggpipe/templates/pages/photo.html @@ -13,7 +13,7 @@ const NAME = decodeURIComponent(location.pathname.split("/").pop()); document.getElementById("photoname").textContent = NAME; document.getElementById("rawlink").href = `/photos/${encodeURIComponent(NAME)}`; -document.title = `bggpipe — ${NAME}`; +document.title = `${NAME} · bggpipe`; function ticket(s) { return ` diff --git a/src/bggpipe/webreview.py b/src/bggpipe/webreview.py index 41ef90b..66ff70c 100644 --- a/src/bggpipe/webreview.py +++ b/src/bggpipe/webreview.py @@ -646,7 +646,9 @@ def create_app( for href, page, label, badge in NAV_PAGES ) return ( - shell.replace("", f"bggpipe — {name}") + # page name first: cramped contexts (home-screen labels, tab + # strips) truncate the tail, which should be the redundant part + shell.replace("", f"{name.capitalize()} · bggpipe") .replace("", nav) .replace("", fragment) )