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,8 +1,6 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Webhook Docs — Epicure",
};
export const metadata: Metadata = {};
export default function WebhookDocsPage() {
return (
@@ -5,7 +5,7 @@ import { db, webhooks, eq } from "@epicure/db";
import { WebhooksManager } from "@/components/settings/webhooks-manager";
import { getMessages } from "@/lib/i18n/server";
export const metadata: Metadata = { title: "Webhooks" };
export const metadata: Metadata = {};
export default async function WebhooksPage() {
const session = await auth.api.getSession({ headers: await headers() });