Skip to content

Enhancement: Allow content creation to create a single file or content folder #141

@estruyf

Description

@estruyf

Discussed in #140

Originally posted by drwilkins October 10, 2021
I'm using doks to create my site's documentation and blog. It expects blog entries to be bundled in a new subfolder; e.g. blog/new-blog-entry/, which contains index.md and any images.

Can this structure be created using vscode-front-matter when I click "Create Content" on the Dashboard?

Requirements

  • New global setting frontmatter.content.folderCreation (boolean - default: false)
  • New Content Type pageBundle property. By default a file gets created, if you want to create page bundles, add the pageBundle: true setting to the Content Type.
  • Folder creation logic
  • Allow the insert media to be focussed immediately on the content folder of the content.

Ideas

Does the creation of a folder always need to happen? Or is this specific per content type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions