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

No config.toml #606

Closed
ogansser opened this issue Apr 7, 2021 · 1 comment · Fixed by #607
Closed

No config.toml #606

ogansser opened this issue Apr 7, 2021 · 1 comment · Fixed by #607
Labels
bug an unexpected problem or unintended behavior

Comments

@ogansser
Copy link

ogansser commented Apr 7, 2021

When I create a new project with "Website using blogdown", there is a possibility to remove "convert all metadata to yaml". Then there is no config.toml. Instead there is a config.yaml.

@ogansser ogansser added the bug an unexpected problem or unintended behavior label Apr 7, 2021
@cderv
Copy link
Collaborator

cderv commented Apr 7, 2021

The parameter for keeping config.toml is new_site(format = "toml") which is different from new_site(to_yaml = FALSE) that "convert all metadata to yaml" is selecting. The latter means to convert all post metadata headers to YAML if they are TOML (e.g in example site).

The former about the config file is not available in the menu yet so it defaults to YAML but we could add a selector.

Thanks for the suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants