Skip to content

Root page defaults to about.md instead of index.md #1237

Closed
@MattFaz

Description

@MattFaz

Environment

  • Operating System: Darwin
  • Node Version: v16.14.0
  • Nuxt Version: 3.0.0-rc.3
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxt/content@2.0.1
  • Build Modules: -

Reproduction

  1. Create a fresh nuxt content project with: npx nuxi init blog -t content (as described on the Get Started guide)
  2. cd into blog: cd blog
  3. Install dependencies with yarn: yarn install
  4. Start dev server: yarn dev
  5. Browse to http://localhost:3000
  6. It renders the about.md rather than the index.md page

Describe the bug

According to https://content.nuxtjs.org/guide/writing/content-directory the root page should be index.md, however it is rendering about.md instead.

Screen Shot 2022-06-10 at 2 28 49 pm

Screen recording of completely fresh install showing the described behavior:

NuxtContentRecording

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions