Skip to content

Conversation

@otusoa
Copy link

@otusoa otusoa commented Oct 29, 2025

πŸ”— Linked issue

harlan-zw/nuxt-seo#492

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

import { defineCollection, defineContentConfig } from '@nuxt/content'
import { asSitemapCollection } from '@nuxtjs/sitemap/content'

export default defineContentConfig({
  collections: {
    content: defineCollection(
      asSitemapCollection({
        type: 'page',
        source: '**/*.{md,yml,yaml,json,csv}', // now supports all supported file formats
      }),
    ),
  },
})

Key Changes

I modified the source property to include all supported file formats: source: '**/*.{md,yml,yaml,json,csv}'.

@otusoa
Copy link
Author

otusoa commented Oct 29, 2025

Hello!
This is the person who submitted the issue earlier.

I've created the pull request nowβ€”please merge it when you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant