vscode-front-matter
vscode-front-matter copied to clipboard
Feedback: Content is "hidden" in settings folder
Default content folder for markdown files for the FrontMatter project is placed in the .frontmatter
subfolder, which I first perceived as a settings folder.
The frontmatter.json
settings file is placed in the project root folder (which I'm quite happy with).
But shouldn't the root folder for the project also be the default content folder? What is the purpose of hiding the content folder?
Edit: I noticed in the settings file that's there is some kind of distinction between publicFolder and pageFolders...
Hi @DennisL68, the .frontmatter
folder is only for configuration. The content folder within it is for the configuration of the metadata of the content/media files.
Typically, you use Front Matter in configuration with a Static-Site generator or framework, which will define where the content is located. The pageFolders
setting defines where Front Matter will need to create your content, and the publicFolder
is the folder in which all your publicly accessible files live. This differs from the framework you use.
Ok, I see. The folder content
actually contains content type origin documents?
Not necessarily; you can put these there. It is how you wish to link these.
Do you currently actually need a frontmatter.json file outside of the .frontmatter folder?
Yes, the frontmatter.json
file is supposed to be outside of the .frontmatter
folder.