Initially I was experience the same problem as in https://github.com/rstudio/blogdown/issues/494 . Then I upgraded to the latest developmental version and the issue was solved (i.e. the output generated by v0.21.42 is absolutely the same as v0.20). However, although the output was absolutely the same, when running blogdown::serve_site(), only v0.20 resolves the urls correctly and renders it in the Viewer pane. v0.21.42 produces something like this (unresolved urls):
Soon I figured out that this only happens when relativeURLs is enabled and baseURL is not /.
[X] I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('blogdown'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/blogdown').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
[X] I have learned the Github Markdown syntax, and formatted my issue correctly.
Initially I was experience the same problem as in https://github.com/rstudio/blogdown/issues/494 . Then I upgraded to the latest developmental version and the issue was solved (i.e. the output generated by v0.21.42 is absolutely the same as v0.20). However, although the output was absolutely the same, when running
blogdown::serve_site()
, only v0.20 resolves the urls correctly and renders it in the Viewer pane. v0.21.42 produces something like this (unresolved urls):Soon I figured out that this only happens when
relativeURLs
is enabled and baseURL is not/
.Minimal reproducible example
In RStudio, use New Project to create a template website. In
config.toml
, setthen
blogdown::serve_site()
Promise
By filing an issue to this repo, I promise that
xfun::session_info('blogdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/blogdown')
.Session Info