Skip to content

All checks / Meta tags

An Astro page does not pass the title its layout needs

This page uses a layout whose <title> is filled from the `title` prop, which has no default, but the page does not pass it.

Critical astro-layout-title-missing

In SEOCode's checks since 31 Oct 2026


Why this matters.

This page uses a layout whose <title> is filled from the `title` prop, which has no default, but the page does not pass it. The page will be published with an empty title, so Google writes its own headline.

Runs on .astro · Critical checks fail the pull request status, so the change cannot merge until it is fixed.


How to resolve it.

Pass `title` to the layout: `<Layout title="Page title">`, or give the layout a default for it (`const { title = "Site name" } = Astro.props`).

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Layouts

docs.astro.build

02

Title Link

developers.google.com

Using a framework? Astro



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card