You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
@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.
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.
The text was updated successfully, but these errors were encountered: