Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
make build_home_index() use content-home template (#787) #834
As discussed in #787: the content-home.html template was being ignored when a .Rmd file was used for the index page content (ie. index.Rmd or README.Rmd, as opposed to index.md or README.md). Instead, the .Rmd was rendered as an article.
The two tests that are added in this PR are successful, but there are two failing tests (and two other warnings) on the master branch already, so I expect the travis checks to fail.
Great! Looks like appveyor is having trouble installing some packages though.
Relatedly https://greta-stats.org is a custom pkgdown build with an Rmd home doc, and a custom home template (with quite a lot of html & css fiddling). It was built using this branch, but I'd be very happy for it to be an example on the pkgdown home page once this is merged. If you're keen, let me know and I'll open a PR to add a line to the pkgdown README.Rmd.