Skip to content

Tidy page titles and Meme breadcrumbs in Google #308

Done

Description

@viclafouch

Google search results show two flaws on Petit Meme pages. Every title starts with the brand (buildPageTitle in src/lib/seo/meta.ts writes "Petit Meme - …"), and Google cuts or rewrites it. The breadcrumb Google shows under a Meme page varies from one Meme to the next: "› Memes" on one, "› … › title" on another, though every Meme page declares the same BreadcrumbList (buildBreadcrumbNode and buildCategoryCrumb in src/lib/seo/json-ld.ts, called from memes/-lib/meme-json-ld.ts).

Read Google's title links, site names and breadcrumb structured data pages, then test pages in the Rich Results Test.

Check: the admin titles go through the same helper and keep their own site name. Where a Meme without a category points its breadcrumb is this issue's call.

Decisions

  • A public title reads <what the page holds> | Petit Meme, the home included: a pipe, since many Meme titles already hold a hyphen.
  • A Meme with several categories leads its breadcrumb with the first one linked (MemeCategory.createdAt ascending). Today categories[0] has no order.
  • A Meme without a category keeps Home › All memes (/memes/category/all) › title, so every Meme page has three levels.

Done when

  • Every public page title leads with what the page holds, in both locales
  • Every Meme page gives the same breadcrumb shape, valid in the Rich Results Test
  • The existing title and breadcrumb tests follow the new shape

A change that needs new URLs stops the issue: comment here.

Activity

  1. added
    enhancement
    on Nov 23, 2026
  2. self-assigned this
    on Nov 23, 2026
  3. added a commit that references this issue on Dec 3, 2026
    a3e6b52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions