Is there a guide for how to best migrate from Blogdown to Distill? My blogdown site is struggling with Hugo/theme version issues and I'm fairly keen to try move to Distill to simplify things. I've managed to get a new Distill site setup locally and can get most things working based on the great documentation.
What I'm struggling with is moving my old posts over from Blogdown to Distill.
I have quite a lot of them in my Blogdown site. They all live in the content/posts/ folder. There is usually an .Rmd file and a matching .html file in that folder (some older posts are just .md from when I migrated from wordpress to blogdown).
Is there a way to get all of those old posts to work in Distill without having to update the YAML and re-render them? Most of the posts are pretty old and broken so re-rendering won't work but I'd still like to keep them for posterity if possible.
I've tried simply copying and pasting the files (both Rmd and html) over to the _posts/ folder and then using rmarkdown::render_site to preview things but none of the posts appear on the home page. New posts I add with distill::create_post do appear on the home page.
I also tried using distill::import_post but kept getting errors. Specifically, I tried the below and received this error.
distill::import_post("https://plussixoneblog.com/post/my-elo-rating-system-explained/")
Importing https://plussixoneblog.com/post/my-elo-rating-system-explained/...
This article does not have a creative commons license. Import anyway? [Y/n]: Y
Error in if (dir_exists(article_dir) && !overwrite) { :
missing value where TRUE/FALSE needed
Any advice would be appreciated and let me know if this is not the best place to ask.
Hi - I hope this appropriate to ask in here. I asked a question over on the community page but didn't get any responses.
https://community.rstudio.com/t/migrating-posts-from-blogdown-to-distill/96334
Is there a guide for how to best migrate from Blogdown to Distill? My blogdown site is struggling with Hugo/theme version issues and I'm fairly keen to try move to Distill to simplify things. I've managed to get a new Distill site setup locally and can get most things working based on the great documentation.
What I'm struggling with is moving my old posts over from Blogdown to Distill.
I have quite a lot of them in my Blogdown site. They all live in the
content/posts/
folder. There is usually an.Rmd
file and a matching.html
file in that folder (some older posts are just.md
from when I migrated from wordpress to blogdown).Is there a way to get all of those old posts to work in Distill without having to update the
YAML
and re-render them? Most of the posts are pretty old and broken so re-rendering won't work but I'd still like to keep them for posterity if possible.An example post is here.
I've tried simply copying and pasting the files (both
Rmd
andhtml
) over to the_posts/
folder and then usingrmarkdown::render_site
to preview things but none of the posts appear on the home page. New posts I add withdistill::create_post
do appear on the home page.I also tried using
distill::import_post
but kept getting errors. Specifically, I tried the below and received this error.Any advice would be appreciated and let me know if this is not the best place to ask.
Thanks