vscode-front-matter icon indicating copy to clipboard operation
vscode-front-matter copied to clipboard

Feedback: Content is "hidden" in settings folder

Open DennisL68 opened this issue 2 years ago • 5 comments

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...

DennisL68 avatar Nov 28 '22 12:11 DennisL68

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.

estruyf avatar Nov 28 '22 14:11 estruyf

Ok, I see. The folder content actually contains content type origin documents?

DennisL68 avatar Nov 30 '22 14:11 DennisL68

Not necessarily; you can put these there. It is how you wish to link these.

estruyf avatar Dec 15 '22 15:12 estruyf

Do you currently actually need a frontmatter.json file outside of the .frontmatter folder?

DennisL68 avatar Feb 14 '23 20:02 DennisL68

Yes, the frontmatter.json file is supposed to be outside of the .frontmatter folder.

estruyf avatar Feb 15 '23 08:02 estruyf