Search code examples
rbookdownblogdown

ggplot() graphical output link broken ./static/post/


I've followed the advice at https://bookdown.org/yihui/blogdown/static-files.html by adding a .r file with blogdown::build_dir('static') - and by creating a ./static/post directory - what am I missing?

I also searched through rbind.io blogdown structures, but cannot figure out how to connect rendered graphic outputs to static/post/post-date; not how to automatically redirect outputs to that folder instead of public.

Thanks for the help.


Solution

  • I think I found the problem

    The .gitignore file in your static directory prevents git to stage images generated by blogdown, delete it.