Using Templates
Now, find a website template that you’d like to use. There are a lot of free ones from [https://html5up.net/1. Or, if you are already savvy with HTML or web design, you may choose to make your own website from scratch. You can also use Jekyll themes that are designed for GitHub Pages, too.
Some of the templates that we recommend for multiple-page websites include:
If you’d like a 1-page website, some templates include:
Regardless of your desired choice, the set-up remains the same.
- Download the template that you like.
- Go into your downloads folder.
- Copy and paste all of this content into your repository folder (
username.github.io). You know this is the right folder because there will be anindex.htmlfile inside of it! - If the downloaded items include an
index.html, you will need to delete your original, barebonesindex.htmlwe created earlier. (If you are on a Mac, it will ask you automatically). - Through RStudio (or the command line, if you know how), commit your changes and push them to GitHub.
- After a few minutes, the build should be deployed and you should see this template hosted on your website now.