swcarpentry/bc — pull request #717 by gvwilson (2014-09-16 14:38:18+00:00)
Title: Adding support for home pages that immediately redirect to other sites.

Some sites would like to use their own home pages for workshops rather than GitHub pages.
However, all of our website machinery expects to harvest workshop information from GitHub.
The (hacked) solution is to allow people to create a GitHub repository containing a home page
that immediately redirects to their own site. To do this, we:

1. Create a new layout called `redirect.html` containing a YAML header key `redirect`.
2. Tell them to `mv redirect-index.html index.html` and then edit the header.
3. Modify the `bin/swc_index_validator.py` script to take a `-r` flag, and then check for redirection if that flag is present.

I'm sure a cleaner implementation of all of this is possible...