Skip to content

kaiwahour/kaiwahour.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

You are probably looking for the home repo

This repo just serves on page to GH Pages which redirects to another (deployed) site.

Say what?

Github requires that user pages (e.g. MYNAME.github.io) use the Master branch. This can be problematic because using tools like create-react-app and gh-pages, you may build and deploy your project to a branch other than master (e.g. a build branch) on git.

One solution to this issue is to have a "dummy" directory that simply redirects to a normal project site. This is the function of the repository you are currently viewing.

How you do?

First, I got a basic HTML template by copying Bootstrap's Starter template.

Then, I added the following line:

<meta http-equiv="refresh" content="0; URL='http://YOUR_USER_NAME.github.io/YOUR_PROJECT'" />

Now you can have your nice, short URL and use tools like gh-pages!

About

Redirects to contentful homepage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages