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

Allow to select config format in new project menu #607

Merged
merged 2 commits into from
Apr 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- `check_content()` will also discover problematic YAML metadata of posts that is not a list (thanks, msmielak, https://stackoverflow.com/q/66857582/559676).

- New project menu in RStudio IDE now allows to select for keeping `config.toml` (thanks, @ogansser, #606).

## MAJOR CHANGES

- The `method` argument of `build_site()` has been removed (it was defunct in **blogdown** v1.2). Please set the build method in the global option `options(blogdown.method = )` instead.
Expand Down
9 changes: 8 additions & 1 deletion inst/rstudio/templates/project/skeleton.dcf
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ Label: Keep empty directories
Default: Off
Position: right

Parameter: format
Widget: SelectInput
Label: Config file format
Fields: yaml, toml
Defaults: yaml
Position: right

Parameter: to_yaml
Widget: CheckboxInput
Label: Convert all metadata to YAML
Label: Convert all post metadata to YAML
Default: On
Position: right

Expand Down