Reputation:
I am trying to create a website using the R package blogdown. Just have a little problem here. After these functions,
library(blogdown)
new_site()
I tried to commit the folders to Github (have a look)
I don't get anything after pressing "Commit". When I try to check the boxes, nothing happens. When I click "Stage", nothing. What's gone wrong?
Upvotes: 0
Views: 128
Reputation: 1636
Your problem has nothing to do with blogdown but it is a GIT issue. From your picture, it seems, that you did not select and check all the boxes for those files you want to stage. This is necessary to tell GIT which files it should include for your commit:
Upvotes: 2
Reputation: 1228
The documentation for blogdown
is pretty extensive. In particular, I suggest reviewing the quick example here.
You've generated the template for a new site with blogdown::new_site()
but you haven't built it without running blogdown::build_site()
. Then the public folder that is generated and populated is the thing that should be committed.
Upvotes: 0