Github Pages allows you to directly host a static website via Github repositoy.
Yoy need to create a public repo with the repo name beging <username>.github.io
You simply add HTML files and assets to your repo.
Jekyll is a static site generator which allows you to build a complex static sites or blogs with ease, and its available on Github Pages.
- Jekyll uses YAML files with frontmatter format
- Jekyll uses markdown files
- Jekyll directly integrates with Github Pages and is a Github Project
Tip
Remember that your website will be available in the domain <username>.github.io
Some pages specific settings are:
You can take advantage of using GitHub Actions and GitHub Pages by creating a workflow file or choosing from the predefined workflows.
GitHub Pages supports using custom domains, or changing the root of your site's URL from the default.
There are three types of GitHub Pages sites:
- Project
- User
- Organization.
Project sites are connected to a specific project hosted on GitHub.
User and organization sites are connected to a specific account on GitHub.com.