Closed cderv closed 2 years ago
Should be fixed now. Please try the dev version:
remotes::install_github('rstudio/blogdown')
Thanks!
The problem was from this line introduced from the PR #118: https://github.com/rstudio/blogdown/blob/be26f3a9fa68c1b3794b0c23825005108e26c413/R/utils.R#L803
Thanks
Take this
test.Rmd
filenew_post()
will at some point try to modify the YAML header, and this is where we loose the correct YAML format:All the
-
in front of the YAML list item are removed which leads to incorrect YAML.First reported in https://community.rstudio.com/t/having-nested-elements-on-blogdown-hugo-archetypes/127761/2 by @llrs