Colorful is a self-contained static theme, so GitHub Pages can serve it directly from the repository root with no build step required. The theme folder ships as ready-to-publish HTML, CSS, and JavaScript — the entire set of files is ready to go the moment you have personalized the content.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/colorful/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you start, make sure you have:- A GitHub account — create one at github.com if you do not already have one.
- A GitHub repository with the Colorful theme files placed at the root, so that
index.htmlis at the top level of the repository rather than inside a subfolder.
Deployment steps
Confirm index.html and .nojekyll are at the repository root
Open your repository in GitHub and verify that If
index.html and .nojekyll appear at the top level — not inside a subfolder. The expected root-level layout is:index.html is nested inside a folder, GitHub Pages will not find it and will return a 404.Push all files to the main branch
Commit and push every file — including the hidden
.nojekyll file — to the main branch of your repository. If you forked the repository, all files are already present.Open repository Settings → Pages
In your GitHub repository, click the Settings tab, then select Pages from the left sidebar under the Code and automation section.
Configure the build and deployment source
Under the Build and deployment heading:
- Set Source to
Deploy from a branch - Set Branch to
main - Set Folder to
/ (root)
You can view the live Colorful demo at https://apursley2012.github.io/colorful/ to see exactly what a deployed portfolio looks like before you customize your own.
The .nojekyll file
GitHub Pages runs every repository through Jekyll by default. Jekyll ignores files and folders whose names start with an underscore, which can silently drop certain asset directories and interfere with asset path references in static themes. The.nojekyll file at the repository root tells GitHub Pages to skip Jekyll entirely and serve the files as-is. This is required for Colorful’s asset paths to resolve correctly. Do not delete it.
Custom domain
GitHub Pages supports custom domains at no extra cost. To use your own domain:- Create a file named
CNAMEat the repository root containing your domain name (for example,yourportfolio.com). - In repository Settings → Pages → Custom domain, enter the same domain and click Save.
- Update your DNS provider to point to GitHub Pages using the addresses provided in the GitHub Pages documentation.
Updating the site
Any new commit pushed to themain branch triggers a re-deploy automatically. There is no separate deploy command to run — edit your files locally, commit, push, and GitHub Pages will rebuild and publish the updated site within a minute or two.
Verifying the deployment
After saving the Pages settings or pushing a new commit:- Open the Actions tab of your repository. You will see a workflow named pages build and deployment — a green check mark indicates a successful build.
- Visit your Pages URL (
https://<your-username>.github.io/<repo-name>/) to confirm the site loads correctly. - If the Actions tab shows a failed build, review the error output for path or configuration issues.