0

I have followed instruction from blogdown to get a GitHub static blog using markdown. However, a particular theme is not playing nice with it. The following MWE results in a unthemed blog:

blogdown::new_site()
file.create(".nojekyll")
blogdown::install_theme("lambdafu/hugo-finite")

Then editing the config.toml file to reflect my github.io domain.

Finally,:

blogdown::build_site()
cd public
git init
git remote add origin https://github.com/lf-araujo/lf-araujo.github.io

Unfortunately these steps causes the creation of an unthemed website, see here. I suspect it has to do with the custom theme.

  • Does anyone suggest a way of debugging this error?

P.S.: blogdown::serve_site() generates a correctly themed preview.

1 Answer 1

0

Judging from your HTML output files (e.g. index.html), you misconfigured your baseURL in config.toml. It should be https://lf-araujo.github.io/ instead of http://github.com/lf-araujo.github.io. The baseURL option is documented in Section 2.2 of the blogdown book.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.