Skip to content

Remove number from directory #57

@Bumbleboss

Description

@Bumbleboss

Background

My directory structure for content is:

1.blog-post-1/
  media/
    banner.png
  index.md
2.blog-post-2/
  media/
    banner.png
  index.md
....

Basically, the blog posts are structured with digits. @nuxt/content removes the number when releasing the blog posts which results in urls like example.com/blog/blog-post-1 and example.com/blog/blog-post-2

Proposal

I would like nuxt-content-assets to follow the same idea when exporting media to the new directory
instead of /blog/2.blog-post-2/media/banner.png it would be /blog/blog-post-2/media/banner.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions