-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get theme branch main #541
Comments
Hi- if you use
So I just tried this and it "worked" (although the exampleSite results in a Hugo shortcode error):
|
Got it, sorry not sure why I missed that in the documentation. |
You can specify the branch after blogdown::new_site(theme = "wowchemy/starter-research-group@main") This is documented on the help page That said, I agree it should do a better job to just figure out the default branch automatically. Thanks for the report! Update: Oh I didn't realize @apreshill had already replied. Again, I'll improve this function so you don't have to specify |
Done. The development version should be able to figure out the default branch now: remotes::install_github('rstudio/blogdown') |
Also note that |
…hemy/starter-research-group (#541) blogdown::new_site(theme = "wowchemy/starter-research-group")
It should work now: remotes::install_github('rstudio/blogdown')
blogdown::new_site(theme = "wowchemy/starter-research-group") |
…a new site with a non-theme repo (#541)
new_site
does't download themes if the name of default branch is notmaster
. People started to switch tomain
...It does if the main branch is called
master
, as in the repo that I forked herehttps://github.com/c1au6i0/starter-research-group
.Well I am not sure if that is the problem or not, but that is a possibility I guess
Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
formatted your issue so it is easier for us to read?
included a minimal, self-contained, and reproducible example?
pasted the output from
xfun::session_info('blogdown')
in your issue?upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?
installed and tested your bug with the development version of the blogdown package using
remotes::install_github('rstudio/blogdown')
?The text was updated successfully, but these errors were encountered: