Skip to content

Page Titles Display Duplicate Site Names #29

@TKanX

Description

@TKanX

Description:

Page titles currently show duplicate site names (e.g., "About | Site Name | Site Name") because createPageMetadata() unconditionally applies template formatting to already-formatted titles. The fix is to use the raw title parameter when provided, only falling back to the default template for pages without explicit titles.

Tasks:

  • Metadata Utility (src/lib/metadata.ts)
    • Replace title: fullTitle with title: title || seoDefaults.defaultTitle in return statement
    • Verify browser tabs display correct, non-duplicate titles across all pages

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions