Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontmatter: move frontmatter config for exampleSite out of root #843

Closed
darren-oxford opened this issue Apr 23, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@darren-oxford
Copy link

Please don't include frontmatter.json in the theme, it results in front matter being incorrectly configured.

It creates a front matter configuration that has an example site and paths to windows executable that of course does not work on Linux or Mac.

@McShelby
Copy link
Owner

Thanks for the input.

Would it work for you, if the frontmatter.json is moved inside the exampleSite directory?

@McShelby McShelby changed the title frontmatter.json frontmatter: move frontmatter config for exampleSite out of root Apr 23, 2024
@McShelby McShelby added the bug Something isn't working label Apr 23, 2024
@McShelby McShelby self-assigned this Apr 23, 2024
@McShelby McShelby added this to the 6.0.0 milestone Apr 23, 2024
@darren-oxford
Copy link
Author

Thanks for the quick reply, I have done a quick test and yes, moving the frontmatter.json file to the exampleSite directory prevented VSCode from picking it up when including the theme. I was then able to open the FrontMatter dashboard and initialize the project as expected.

You may also want to add the .frontmatter directory to your .gitignore.

Thanks for the great theme.

@McShelby
Copy link
Owner

Done. Thanks for the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants