github 未采用 Blogdown 主题

Blogdown theming not being picked up by github

我已按照 blogdown 的说明使用 markdown 获取 GitHub 静态博客。然而,一个特定的主题并不适合它。以下 MWE 生成无主题博客:

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

然后编辑 config.toml 文件以反映我的 github.io 域。

最后,:

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

不幸的是,这些步骤会导致创建一个无主题的网站,请参阅 here。我怀疑这与自定义主题有关。

P.S.: blogdown::serve_site() 生成正确主题的预览。

根据您的 HTML 输出文件判断(例如 blogdown 一书的 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