front-matter extension does not seem to be able to deal with multiple folders workspaces.
Describe the bug
Say you got a multi-project workspace with
a Hugo Blog, AND
a Hugo Theme for your blog
Front matter would only intitialize the first folder of this two folders workspace.
Even if you manually create the ".templates" sub folder in the correct project the dashboard will not find it and will not use it.
To Reproduce
Create a multi folder project with
a dummy project first
a project with front matter as the second folder
try to initialize front-matter extension with/for the second project/"workspace folder"
Expected behavior
Front matter extension should be able to work on a per-project basis and ask for which project you want to enable/initialize the extension.
Behaviouir should be probably the same for the dashboard : you may want to display on a per-project basis. Or all... (configuration option ? I'm not sure..)
BTW: not sure if it is a bug or a feature request...
In my case the extension started adding files and folders in the wrong project and spoiled it somehow... This is why I chose bug over feature request.
front-matter extension does not seem to be able to deal with multiple folders workspaces.
**Describe the bug**
Say you got a multi-project workspace with
- a Hugo Blog, AND
- a Hugo Theme for your blog
Front matter would only intitialize the first folder of this two folders workspace.
Even if you manually create the ".templates" sub folder in the correct project the dashboard will not find it and will not use it.
**To Reproduce**
Create a multi folder project with
- a dummy project first
- a project with front matter as the second folder
- try to initialize front-matter extension with/for the second project/"workspace folder"
**Expected behavior**
Front matter extension should be able to work on a per-project basis and ask for which project you want to enable/initialize the extension.
Behaviouir should be probably the same for the dashboard : you may want to display on a per-project basis. Or all... (configuration option ? I'm not sure..)
BTW: not sure if it is a bug or a feature request...
In my case the extension started adding files and folders in the wrong project and spoiled it somehow... This is why I chose bug over feature request.
<!-- github-sync-id:1001383095 -->
Thank you @tchinchow for opening the issue. Front Matter currently focusses to be used in a single folder workplace. With the upcoming release and the team settings functionality, we can focus on enhancing the behavior of multi-folder workspaces because the frontmatter.json file will allow the extension to know which your blog folder is.
Thank you @tchinchow for opening the issue. Front Matter currently focusses to be used in a single folder workplace. With the upcoming release and the team settings functionality, we can focus on enhancing the behavior of multi-folder workspaces because the `frontmatter.json` file will allow the extension to know which your blog folder is.
<!-- github-comment-id:923683662 -->
@tchinchow good news, I just completed the functionality to support workspaces with multiple folders.
The logic is that it will look for the folder with a frontmatter.json file and it will take that as the default. If none is found, it will ask you to select a folder and creates the file in that one.
If you want, you can already test it out with the beta version of the extension. Install it via: https://beta.frontmatter.codes or search for Front Matter BETA.
@tchinchow good news, I just completed the functionality to support workspaces with multiple folders.
The logic is that it will look for the folder with a `frontmatter.json` file and it will take that as the default. If none is found, it will ask you to select a folder and creates the file in that one.

If you want, you can already test it out with the beta version of the extension. Install it via: https://beta.frontmatter.codes or search for `Front Matter BETA`.
<!-- github-comment-id:932024872 -->
BETA docs have also been updated: https://beta.frontmatter.codes/docs/getting-started#workspaces-with-multiple-folders
<!-- github-comment-id:932032815 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
front-matter extension does not seem to be able to deal with multiple folders workspaces.
Describe the bug
Say you got a multi-project workspace with
Front matter would only intitialize the first folder of this two folders workspace.
Even if you manually create the ".templates" sub folder in the correct project the dashboard will not find it and will not use it.
To Reproduce
Create a multi folder project with
Expected behavior
Front matter extension should be able to work on a per-project basis and ask for which project you want to enable/initialize the extension.
Behaviouir should be probably the same for the dashboard : you may want to display on a per-project basis. Or all... (configuration option ? I'm not sure..)
BTW: not sure if it is a bug or a feature request...
In my case the extension started adding files and folders in the wrong project and spoiled it somehow... This is why I chose bug over feature request.
Thank you @tchinchow for opening the issue. Front Matter currently focusses to be used in a single folder workplace. With the upcoming release and the team settings functionality, we can focus on enhancing the behavior of multi-folder workspaces because the
frontmatter.jsonfile will allow the extension to know which your blog folder is.@tchinchow good news, I just completed the functionality to support workspaces with multiple folders.
The logic is that it will look for the folder with a
frontmatter.jsonfile and it will take that as the default. If none is found, it will ask you to select a folder and creates the file in that one.If you want, you can already test it out with the beta version of the extension. Install it via: https://beta.frontmatter.codes or search for
Front Matter BETA.BETA docs have also been updated: https://beta.frontmatter.codes/docs/getting-started#workspaces-with-multiple-folders
Works like a charm indeed.
Thank you @estruyf .