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) )