Skip to content

v1.1.127

Choose a tag to compare

@github-actions github-actions released this 12 Nov 16:03
· 12 commits to main since this release

Fixed

  • Every server-rendered page had two <title> elements (lab finding K21). The root
    template's <title inertia> sat beside @inertiaHead, so the first byte carried the app
    name AND the page's own title from the SSR head: an invalid document, and a crawler or
    link preview, which reads the first, saw "Fancy" on every page. app.blade.php now uses
    Inertia 3's <x-inertia::head> component with the app name as its fallback, so the
    document has the SSR head's title when SSR answers and the app name only when it does
    not. tests/Feature/DocumentTitleTest.php renders pages through the built SSR bundle and
    asserts exactly one title. In an app made from an earlier kit: in
    resources/views/app.blade.php, delete the <title inertia> line and replace
    @inertiaHead with
    <x-inertia::head><title>{{ config('app.name') }}</title></x-inertia::head>.