SEO
seo/title-unique
Each page has its own descriptive title, page topic first and site name last, in the page's language.
drobnaręcznefe-seo-metadata
Dlaczego
The title is the clickable line in search results, the browser tab name and the first thing a screen reader says. "Home · Acme" on every page, or one generic title from the root layout, makes results and tabs indistinguishable.
Poprawka
Set the title per route through the framework (Next.js metadata.title with a template in the root layout, Nuxt useHead({ title }) with titleTemplate, SvelteKit <svelte:head><title>, Angular route title and a TitleStrategy). Put the page topic first and the site name last; avoid repeating keywords.
Przykłady
// Next.js: app/layout.tsx and app/pricing/page.tsx
export const metadata = { title: { template: '%s · Acme', default: 'Acme' } }
export const metadata = { title: 'Pricing' } // renders "Pricing · Acme"Źródła
Fakty
- Identyfikator
seo/title-unique- Waga
- drobna
- Sprawdzanie
- ręczne ocenia człowiek; raport podaje to jako listę kontrolną
- Dotyczy plików
htmlvuesvelteastrojsx- Ten sam problem w
- Lighthouse
document-title - Uczy jej skill
fe-seo-metadataSEO and metadata- Od wersji
- 0.1.0
Przeczytaj w terminalu
npx github:dawidolko/frontend-skills explain seo/title-unique