Skip to content

A way to organize files in "blog" folder? #8713

Answered by slorber
auracheeze asked this question in General
Discussion options

You must be logged in to vote

You can use the slug frontmatter explicitly to decouple the FS structure from the slug: this makes it possible to use the FS structure that you prefers.

We do this on Docusaurus blog: https://github.com/facebook/docusaurus/tree/main/website/blog

  • first: used simple mdx files
  • 2nd: used folders
  • 3rd: create a ./releases subfolder

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@slorber
Comment options

slorber Mar 10, 2023
Collaborator

@slorber
Comment options

slorber Mar 10, 2023
Collaborator

@auracheeze
Comment options

@slorber
Comment options

slorber Mar 22, 2023
Collaborator

@auracheeze
Comment options

Answer selected by auracheeze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants