From #704 (comment)
Originally I was thinking of testing only a few themes in a GHA daily workflow:
themes = c(
'hugo-apero/hugo-apero',
'wowchemy/starter-hugo-academic',
'wowchemy/starter-research-group',
'yihui/hugo-prose'
)
for (theme in themes) {
d = tempfile()
dir.create(d)
xfun::in_dir(d, {
blogdown::new_site(theme = theme, serve = FALSE)
blogdown::build_site(build_rmd = 'newfile')
})
unlink(d, recursive = TRUE)
}
But it may be a better idea to test all themes: https://github.com/gohugoio/hugoThemesSiteBuilder/blob/main/themes.txt and generate a "status" page that shows which themes work or do not work with blogdown. This page could be a simple (meaning a plain style) HTML page deployed along with https://pkgs.rstudio.com/blogdown/. We can save the results in the artifacts, and make the pkgdown workflow read and deploy the results.
From #704 (comment)
Originally I was thinking of testing only a few themes in a GHA daily workflow:
But it may be a better idea to test all themes: https://github.com/gohugoio/hugoThemesSiteBuilder/blob/main/themes.txt and generate a "status" page that shows which themes work or do not work with blogdown. This page could be a simple (meaning a plain style) HTML page deployed along with https://pkgs.rstudio.com/blogdown/. We can save the results in the artifacts, and make the pkgdown workflow read and deploy the results.