The local preview of my website using blogdown:::serve_site() looks different than the Netlify deploy.
For example, using HTML in the markdown files to show an image (e.g. <img src="/gifs/r-suddengains.gif"/> ) or a YouTube video (e.g. <iframe width="560" height="315" src="https://www.youtube.com/embed/4SBjIkFNAGQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>) does not show in the local preview using blogdown:::serve_site() but looks fine online after deployment through Netlify (see Screenshot). I can't figure out why this doesn't work anymore, maybe I'm just missing a package or something in my settings isn't right?
Any ideas why my local preview is missing some things?
I created a new project with the default blogdown configuration and got it to render with blogdown::serve(). Sort of--it doesn't slot it in the right date or give it the correct title.
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: