From 3427c26c7e65dae6c2f7cc5a157baf238ff5e437 Mon Sep 17 00:00:00 2001 From: Phat Pham Date: Fri, 13 Nov 2026 11:36:08 +0700 Subject: [PATCH] fix(pwa): use "reader." consistently in app metadata The in-app wordmark already renders "reader." (header and launch veil), but the browser tab title, Open Graph/Twitter titles, application-name, and Apple/Android installed-app metadata dropped the dot. iOS uses apple-mobile-web-app-title (with the manifest as fallback), so adding the app to the home screen showed "reader". - Use "reader." in , application-name, og:site_name, og:title, twitter:title, and apple-mobile-web-app-title - Set manifest name and short_name to "reader." - Bump the manifest/app.js asset stamps and SHELL_CACHE so installed clients install the updated manifest - Lock the metadata with a render test Co-Authored-By: Claude Code <noreply@anthropic.com> --- core/render.ts | 16 ++++++++-------- core/test/render.spec.ts | 22 +++++++++++++++++++++- web-static/service-worker.js | 6 +++--- web-static/site.webmanifest | 4 ++-- 4 files changed, 34 insertions(+), 14 deletions(-) diff --git a/core/render.ts b/core/render.ts index f918cc0..f6e43dc 100644 --- a/core/render.ts +++ b/core/render.ts @@ -164,13 +164,13 @@ export function renderIndexPage(data: PageData): string { <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> - <title>reader - + reader. + - - + + @@ -178,7 +178,7 @@ export function renderIndexPage(data: PageData): string { - + @@ -189,13 +189,13 @@ export function renderIndexPage(data: PageData): string { - - + + - +