fix: browser tab title should always just say "Epicure"

Root layout used title.template ("%s | Epicure") and 38 pages set
their own title, producing "Recipes | Epicure", "Messages — Epicure",
etc. Drop the template, set a flat "Epicure" default, and clear every
page's title override so they all inherit it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-09 14:58:03 +02:00
parent 64f45ed74d
commit 212d6f7335
35 changed files with 35 additions and 37 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { auth } from "@/lib/auth/server";
import { db, collections, eq, desc } from "@epicure/db";
import { CollectionsPageContent } from "@/components/collections/collections-page-content";
export const metadata: Metadata = { title: "Collections" };
export const metadata: Metadata = {};
export default async function CollectionsPage() {
const session = await auth.api.getSession({ headers: await headers() });