Closed daijiang closed 3 years ago
Why does the exampleSite config.toml
need to be changed for the blogdown command to work? Why can't you get the config.toml
from elsewhere that does not affect exampleSite
? (I think removing gitinfo might be a problem for the demo site, for instance).
This theme expects the site to be a git repo because by default .Lastmod
will be the last mod date per git.
Now, I added a new section to the readme for non-git repos and what to do in that case.
https://github.com/zwbetz-gh/cupper-hugo-theme/commit/ebceede3a7a602af01d382b6f3d65ef274de5f1a
so that
blogdown::new_site(theme = "zwbetz-gh/cupper-hugo-theme")
would work when using this theme in R and blogdown. #55