Skip to content

[BUG] Body of work page missing on first deploy #23

@DeepanshKhurana

Description

@DeepanshKhurana

Bug Report

Describe the bug
When using a custom bodyOfWork.slug in config, the page doesn't show up after the first deploy even though the build logs say it was created. It only appears after a second deploy/rebuild.

To Reproduce

  1. Set a custom slug in config.yaml: bodyOfWork.slug: "archive"
  2. Run npm run build and deploy
  3. Try to access /archive — 404 or missing from navigation
  4. Run build again and redeploy
  5. Now it works

Expected behavior
The body of work page should be accessible after the first build, not require two builds.

Additional context
I think it's a build order issue — the body of work file gets created after the pages index is already generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions