How to setup Github Pages with a custom domain.
For more details see a step by step setup tutorial of Jekyll with Github Pages
Go to Github:
- Create a new repo with the format
Setup the repo:
$ git init $ git remote add origin link-to-repo
If you have a custom domain, create a
CNAME file, add a line with your website, and save it to your local blog root directory:
robots.txt and add this line to the file:
You can also use
Disallow for bad URLs.
User-agent: * Disallow: /bad.html Allow: /
Setup: Jekyll and Cloudflare